mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
SITL: correctly cast types for MegaSquirt error format string
`uint32_t` is `unsigned long int`, not `unsigned int`.
This commit is contained in:
parent
8204ff4d7c
commit
eb283ce607
@ -107,7 +107,7 @@ void EFI_MegaSquirt::update()
|
||||
if (crc == crc2) {
|
||||
send_table();
|
||||
} else {
|
||||
printf("BAD EFI CRC: 0x%08x 0x%08x\n", crc, crc2);
|
||||
printf("BAD EFI CRC: 0x%08x 0x%08x\n", (unsigned int)crc, (unsigned int)crc2);
|
||||
}
|
||||
ofs = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user