1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Remove the ability to disable stage 2 failsafe

This commit is contained in:
Dan Nixon 2017-07-19 09:37:34 +01:00
parent cd5e57e814
commit e0ebee168a
8 changed files with 11 additions and 18 deletions

View file

@ -539,7 +539,7 @@ static void applyLedWarningLayer(bool updateNow, timeUs_t *timer)
warningFlags = 0;
if (batteryConfig()->voltageMeterSource != VOLTAGE_METER_NONE && getBatteryState() != BATTERY_OK)
warningFlags |= 1 << WARNING_LOW_BATTERY;
if (feature(FEATURE_FAILSAFE) && failsafeIsActive())
if (failsafeIsActive())
warningFlags |= 1 << WARNING_FAILSAFE;
if (!ARMING_FLAG(ARMED) && isArmingDisabled())
warningFlags |= 1 << WARNING_ARMING_DISABLED;