mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-27 00:30:03 +02:00
wip
This commit is contained in:
parent
5811ef0a11
commit
bb6abe4e93
@ -1349,6 +1349,9 @@ std::vector<char> DetectorImpl::readProgrammingFile(const std::string &fname) {
|
||||
throw RuntimeError(
|
||||
"Could not convert programming file. EOF before end of flash");
|
||||
}
|
||||
// write 0 to tthe end
|
||||
char c = '\0';
|
||||
write(dst, &c, 1);
|
||||
}
|
||||
if (fclose(src) != 0) {
|
||||
throw RuntimeError("Program FPGA: Could not close source file");
|
||||
|
Loading…
x
Reference in New Issue
Block a user