Browse Source

AP_Landing: correct format string

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
53f8aa2b92
  1. 2
      libraries/AP_Landing/AP_Landing.cpp

2
libraries/AP_Landing/AP_Landing.cpp

@ -418,7 +418,7 @@ bool AP_Landing::restart_landing_sequence() @@ -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…
Cancel
Save