mirror of https://github.com/ArduPilot/ardupilot
Plane: update flight stage on successful restart_landing_sequence()
This commit is contained in:
parent
2ba9a04bf5
commit
9aa25cb7a0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue