mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
wip
This commit is contained in:
parent
8e58d1907d
commit
8c527bcc0d
@ -1314,10 +1314,10 @@ std::vector<char> DetectorImpl::readProgrammingFile(const std::string &fname) {
|
||||
// Swap bits from source and write to dest
|
||||
while (!feof(src)) {
|
||||
// print progress
|
||||
LOG(logINFO,
|
||||
("Converting program to rawbin :%d%%\r",
|
||||
LOG(logINFO) << "Converting program to rawbin";
|
||||
printf("%d%%\r",
|
||||
(int)(((double)(pofFooterOfst - dstFilePos) / pofFooterOfst) *
|
||||
100)));
|
||||
100));
|
||||
fflush(stdout);
|
||||
// pof: exit early to discard footer
|
||||
if (isPof && dstFilePos >= pofFooterOfst) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user