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