1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 17:55:28 +03:00

Update navigation.c

This commit is contained in:
breadoven 2022-03-19 21:38:55 +00:00
parent 1452a5a772
commit 57fbb4c341

View file

@ -3334,7 +3334,6 @@ static navigationFSMEvent_t selectNavEventFromBoxModeInput(void)
* If caused by sensor failure - landing auto cancelled if sensors working again or when WP and RTH deselected or if Althold selected.
* If caused by RTH Sanity Checking - landing cancelled if RTH deselected.
* Remains active if failsafe active regardless of mode selections */
// CR61
if (navigationIsExecutingAnEmergencyLanding()) {
bool autonomousNavIsPossible = canActivateNavigation && canActivateAltHold && STATE(GPS_FIX_HOME);
bool emergLandingCancel = (!autonomousNavIsPossible &&