GPS Rescue: check failsafe procedure when preventing arming
This commit is contained in:
parent
8a4ea0785e
commit
bdd57a6ce4
|
@ -276,7 +276,7 @@ void updateArmingStatus(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_GPS_RESCUE
|
#ifdef USE_GPS_RESCUE
|
||||||
if (isModeActivationConditionPresent(BOXGPSRESCUE)) {
|
if (gpsRescueIsConfigured()) {
|
||||||
if (!gpsRescueConfig()->minSats || STATE(GPS_FIX) || ARMING_FLAG(WAS_EVER_ARMED)) {
|
if (!gpsRescueConfig()->minSats || STATE(GPS_FIX) || ARMING_FLAG(WAS_EVER_ARMED)) {
|
||||||
unsetArmingDisabled(ARMING_DISABLED_GPS);
|
unsetArmingDisabled(ARMING_DISABLED_GPS);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue