mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
wip
This commit is contained in:
parent
7b3b0044bf
commit
5b47b1e353
@ -272,7 +272,9 @@ int verifyChecksumFromFlash(char *mess, char *clientChecksum, char *fname,
|
||||
int oldProgress = 0;
|
||||
|
||||
while (bytes > 0) {
|
||||
if (totalBytesRead == 2 * bytes) {
|
||||
LOG(logINFO, ("bytes:%d\n", bytes));
|
||||
}
|
||||
int progress = (int)(((double)(totalBytesRead) / fsize) * 100);
|
||||
if (oldProgress != progress) {
|
||||
printf("%d%%\r", progress);
|
||||
|
Loading…
x
Reference in New Issue
Block a user