mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
wip
This commit is contained in:
@ -365,7 +365,7 @@ int verifyChecksumFromFlash(char *mess, char *clientChecksum, char *fname,
|
|||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
const int readUnitSize = 128;
|
const int readUnitSize = 128;
|
||||||
int c = fgetc(fp);
|
int character = fgetc(fp);
|
||||||
int oldProgress = 0;
|
int oldProgress = 0;
|
||||||
ssize_t totalBytesRead = 1;
|
ssize_t totalBytesRead = 1;
|
||||||
|
|
||||||
@ -383,7 +383,7 @@ int verifyChecksumFromFlash(char *mess, char *clientChecksum, char *fname,
|
|||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
if (fputc(c, flashfp) != c) {
|
if (fputc(character, flashfp) != character) {
|
||||||
LOG(logERROR, ("Could not write to flash fp file\n"));
|
LOG(logERROR, ("Could not write to flash fp file\n"));
|
||||||
}
|
}
|
||||||
// read only until a particular size (drive)
|
// read only until a particular size (drive)
|
||||||
|
Reference in New Issue
Block a user