mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-22 07:45:24 +03:00
Refactor arming; Add configurable switch-disarm delay
This commit is contained in:
parent
108b619a34
commit
8b9d6e092b
7 changed files with 36 additions and 28 deletions
|
@ -1036,7 +1036,7 @@ static navigationFSMEvent_t navOnEnteringState_NAV_STATE_RTH_FINISHING(navigatio
|
|||
UNUSED(previousState);
|
||||
|
||||
if (navConfig()->general.flags.disarm_on_landing) {
|
||||
mwDisarm(DISARM_NAVIGATION);
|
||||
disarm(DISARM_NAVIGATION);
|
||||
}
|
||||
|
||||
return NAV_FSM_EVENT_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue