APMrover2: fix passing AP_Float to printf
Call get() to return the contained float value.
This commit is contained in:
parent
68bef1ec64
commit
79230bc68d
@ -215,7 +215,7 @@ int8_t Rover::test_wp(uint8_t argc, const Menu::arg *argv)
|
||||
delay(1000);
|
||||
|
||||
cliSerial->printf("%u waypoints\n", (unsigned)mission.num_commands());
|
||||
cliSerial->printf("Hit radius: %f\n", g.waypoint_radius);
|
||||
cliSerial->printf("Hit radius: %f\n", g.waypoint_radius.get());
|
||||
|
||||
for(uint8_t i = 0; i < mission.num_commands(); i++){
|
||||
AP_Mission::Mission_Command temp_cmd;
|
||||
|
Loading…
Reference in New Issue
Block a user