mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Merge pull request #7159 from TonyBlit/gps_rescue_prevent_arm
GPS Rescue: check failsafe procedure when preventing arming
This commit is contained in:
commit
76e3722a17
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ void updateArmingStatus(void)
|
|||
}
|
||||
|
||||
#ifdef USE_GPS_RESCUE
|
||||
if (isModeActivationConditionPresent(BOXGPSRESCUE)) {
|
||||
if (gpsRescueIsConfigured()) {
|
||||
if (!gpsRescueConfig()->minSats || STATE(GPS_FIX) || ARMING_FLAG(WAS_EVER_ARMED)) {
|
||||
unsetArmingDisabled(ARMING_DISABLED_GPS);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue