mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-31 04:58:30 -04:00
AP_FlashStorage: fixed build warning
This commit is contained in:
parent
7cff648f8a
commit
14cf54b2f0
@ -128,7 +128,7 @@ void FlashTest::setup(void)
|
||||
|
||||
if (erase_ok) {
|
||||
if (memcmp(mem_buffer, mem_mirror, sizeof(mem_buffer)) != 0) {
|
||||
AP_HAL::panic("FATAL: data mis-match at i=%u", i);
|
||||
AP_HAL::panic("FATAL: data mis-match at i=%u", (unsigned)i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user