mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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
Block a user