AP_Landing: correct format string

This commit is contained in:
Peter Barker 2019-08-16 12:03:27 +10:00 committed by Peter Barker
parent 83b7857349
commit 53f8aa2b92
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&