mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 16:23:56 -04:00
AP_Compass: fixed warning
This commit is contained in:
parent
662afdc2fd
commit
0d8cdd2728
@ -211,7 +211,7 @@ bool AP_Compass_HMC5843::init()
|
||||
_bus->register_periodic_callback(13333,
|
||||
FUNCTOR_BIND_MEMBER(&AP_Compass_HMC5843::_timer, void));
|
||||
|
||||
hal.console->printf("HMC5843 found on bus 0x%x\n", _bus->get_bus_id());
|
||||
hal.console->printf("HMC5843 found on bus 0x%x\n", (unsigned)_bus->get_bus_id());
|
||||
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user