mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +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
|
// Swap bits from source and write to dest
|
||||||
while (!feof(src)) {
|
while (!feof(src)) {
|
||||||
// print progress
|
// print progress
|
||||||
LOG(logINFO,
|
LOG(logINFO) << "Converting program to rawbin";
|
||||||
("Converting program to rawbin :%d%%\r",
|
printf("%d%%\r",
|
||||||
(int)(((double)(pofFooterOfst - dstFilePos) / pofFooterOfst) *
|
(int)(((double)(pofFooterOfst - dstFilePos) / pofFooterOfst) *
|
||||||
100)));
|
100));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
// pof: exit early to discard footer
|
// pof: exit early to discard footer
|
||||||
if (isPof && dstFilePos >= pofFooterOfst) {
|
if (isPof && dstFilePos >= pofFooterOfst) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user