Plane: update flight stage on successful restart_landing_sequence()

This commit is contained in:
Tom Pittenger 2016-04-21 22:53:55 -07:00
parent 2ba9a04bf5
commit 9aa25cb7a0
1 changed files with 5 additions and 0 deletions

View File

@ -296,6 +296,11 @@ bool Plane::restart_landing_sequence()
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "Unable to restart landing sequence");
success = false;
}
if (success) {
// exit landing stages if we're no longer executing NAV_LAND
update_flight_stage();
}
return success;
}