mirror of https://github.com/ArduPilot/ardupilot
AP_Landing: correct format string
This commit is contained in:
parent
83b7857349
commit
53f8aa2b92
|
@ -418,7 +418,7 @@ bool AP_Landing::restart_landing_sequence()
|
|||
mission.set_current_cmd(current_index+1))
|
||||
{
|
||||
// if the next immediate command is MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT to climb, do it
|
||||
gcs().send_text(MAV_SEVERITY_NOTICE, "Restarted landing sequence. Climbing to %dm", cmd.content.location.alt/100);
|
||||
gcs().send_text(MAV_SEVERITY_NOTICE, "Restarted landing sequence. Climbing to %dm", (signed)cmd.content.location.alt/100);
|
||||
success = true;
|
||||
}
|
||||
else if (do_land_start_index != 0 &&
|
||||
|
|
Loading…
Reference in New Issue