AP_IOMCU: fixed build warning

This commit is contained in:
Andrew Tridgell 2018-09-14 20:00:43 +10:00
parent 7b1f44a995
commit ba87856deb

View File

@ -633,7 +633,7 @@ bool AP_IOMCU::check_crc(void)
fw = nullptr;
return true;
} else {
hal.console->printf("IOMCU: CRC mismatch expected: 0x%X got: 0x%X\n", crc, io_crc);
hal.console->printf("IOMCU: CRC mismatch expected: 0x%X got: 0x%X\n", (unsigned)crc, (unsigned)io_crc);
}
const uint16_t magic = REBOOT_BL_MAGIC;