mirror of https://github.com/ArduPilot/ardupilot
Plane: Handle EXIT_COMMANDED return status in soaring.
This commit is contained in:
parent
861b57cb09
commit
9f5b068d9e
|
@ -147,6 +147,9 @@ void Plane::update_soaring() {
|
|||
case SoaringController::LoiterStatus::DRIFT_EXCEEDED:
|
||||
soaring_restore_mode("Drifted too far", ModeReason::SOARING_DRIFT_EXCEEDED, *exit_mode);
|
||||
break;
|
||||
case SoaringController::LoiterStatus::EXIT_COMMANDED:
|
||||
soaring_restore_mode("Exit via RC switch", ModeReason::RC_COMMAND, *exit_mode);
|
||||
break;
|
||||
} // switch loiterStatus
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue