mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix printf format.
This commit is contained in:
parent
6addddbbc7
commit
f2a1a1f641
@ -102,7 +102,7 @@ int verify_firmware()
|
|||||||
|
|
||||||
for (int i=0; i<bytes; i++) {
|
for (int i=0; i<bytes; i++) {
|
||||||
if (flash_buf[i] != file_buf[i]) {
|
if (flash_buf[i] != file_buf[i]) {
|
||||||
printf("verify_firmware: verification failed! offset:%d flash:%x file:%x\n", offset+i, flash_buf[i], file_buf[i]);
|
printf("verify_firmware: verification failed! offset:%ld flash:%x file:%x\n", offset+i, flash_buf[i], file_buf[i]);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user