mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 07:40:03 +02:00
wip
This commit is contained in:
parent
f1b31100db
commit
e1ed49a843
@ -1328,7 +1328,7 @@ std::vector<char> DetectorImpl::readProgrammingFile(const std::string &fname,
|
|||||||
// print progress
|
// print progress
|
||||||
int progress = (int)(((double)(dstFilePos) / srcSize) * 100);
|
int progress = (int)(((double)(dstFilePos) / srcSize) * 100);
|
||||||
if (oldProgress != progress) {
|
if (oldProgress != progress) {
|
||||||
printf("%d%%\r", );
|
printf("%d%%\r", progress);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
oldProgress = progress;
|
oldProgress = progress;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user