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:
parent
cd5e57e814
commit
e0ebee168a
8 changed files with 11 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue