mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
wip
This commit is contained in:
parent
c5826e905b
commit
2eba0c9d74
@ -1279,6 +1279,8 @@ std::vector<char> DetectorImpl::readProgrammingFile(const std::string &fname) {
|
|||||||
"Program FPGA: Could not open source file for programming: " +
|
"Program FPGA: Could not open source file for programming: " +
|
||||||
fname);
|
fname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// get srcSize to print progress
|
||||||
if (fseek(src, 0, SEEK_END) != 0) {
|
if (fseek(src, 0, SEEK_END) != 0) {
|
||||||
throw RuntimeError("Program FPGA: Seek error in src file");
|
throw RuntimeError("Program FPGA: Seek error in src file");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user