more print and fclose

This commit is contained in:
maliakal_d 2021-11-09 16:00:01 +01:00
parent f5d62b50ce
commit 0090c183bf

View File

@ -200,6 +200,7 @@ int writeToFlash(char *mess, ssize_t fsize, FILE *flashfd, char *buffer) {
LOG(logERROR, (mess));
return FAIL;
}
LOG(logINFO, ("\tWritten to Flash\n"));
fclose(flashfd);
LOG(logINFO, ("\tWrote %ld bytes to flash\n", bytesWritten));
return OK;
}