1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Remove failsafe_kill_switch setting; Replace with new KILLSWITCH box mode

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2017-03-29 10:08:22 +10:00
parent 87fb5ee1c5
commit c9b161593b
9 changed files with 41 additions and 51 deletions

View file

@ -183,6 +183,11 @@ void processRcStickPositions(throttleStatus_e throttleStatus, bool disarm_kill_s
}
}
// KILLSWITCH disarms instantly
if (IS_RC_MODE_ACTIVE(BOXKILLSWITCH)) {
mwDisarm();
}
if (rcDelayCommand != 20) {
return;
}