mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Changed warning to only be shown when armed.
This commit is contained in:
parent
286f21150c
commit
79fd505a8c
7 changed files with 19 additions and 26 deletions
|
@ -549,7 +549,7 @@ static void applyLedWarningLayer(bool updateNow, timeUs_t *timer)
|
|||
if (!ARMING_FLAG(ARMED) && isArmingDisabled()) {
|
||||
warningFlags |= 1 << WARNING_ARMING_DISABLED;
|
||||
}
|
||||
if (isFlipOverAfterCrashWarningActive()) {
|
||||
if (isFlipOverAfterCrashActive()) {
|
||||
warningFlags |= 1 << WARNING_CRASH_FLIP_ACTIVE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue