mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 03:22:05 +01:00
more print and fclose
This commit is contained in:
@@ -200,6 +200,7 @@ int writeToFlash(char *mess, ssize_t fsize, FILE *flashfd, char *buffer) {
|
|||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
LOG(logINFO, ("\tWritten to Flash\n"));
|
fclose(flashfd);
|
||||||
|
LOG(logINFO, ("\tWrote %ld bytes to flash\n", bytesWritten));
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user