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