This commit is contained in:
2021-09-10 16:40:59 +02:00
parent ff5ab8413e
commit be4dfcf499

View File

@ -284,7 +284,7 @@ int verifyChecksumFromFlash(char *mess, char *clientChecksum, char *fname,
if (totalBytesRead == bytes) { if (totalBytesRead == bytes) {
printf("\n"); printf("\n");
for (int i = 16; i < 26; ++i) { for (int i = 16; i < 26; ++i) {
printf("[0x%x] ", buf[i]); printf("[0x%02x] ", buf[i]);
} }
printf("\n"); printf("\n");
} }
@ -295,7 +295,7 @@ int verifyChecksumFromFlash(char *mess, char *clientChecksum, char *fname,
if (totalBytesRead == bytes) { if (totalBytesRead == bytes) {
printf("after the fix\n"); printf("after the fix\n");
for (int i = 16; i < 26; ++i) { for (int i = 16; i < 26; ++i) {
printf("[0x%x] ", buf[i]); printf("[0x%02x] ", buf[i]);
} }
printf("\n"); printf("\n");
} }