mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-04 09:08:44 +01:00
wip
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user