From 2eba0c9d749eb030a9f32448543b550c51ce9bf6 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 3 Sep 2021 15:24:59 +0200 Subject: [PATCH] wip --- slsDetectorSoftware/src/DetectorImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slsDetectorSoftware/src/DetectorImpl.cpp b/slsDetectorSoftware/src/DetectorImpl.cpp index bde20c3c1..03f84fc1b 100644 --- a/slsDetectorSoftware/src/DetectorImpl.cpp +++ b/slsDetectorSoftware/src/DetectorImpl.cpp @@ -1279,6 +1279,8 @@ std::vector DetectorImpl::readProgrammingFile(const std::string &fname) { "Program FPGA: Could not open source file for programming: " + fname); } + + // get srcSize to print progress if (fseek(src, 0, SEEK_END) != 0) { throw RuntimeError("Program FPGA: Seek error in src file"); }