1
0
Fork 0
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:
mikeller 2018-11-04 13:37:39 +13:00
parent 286f21150c
commit 79fd505a8c
7 changed files with 19 additions and 26 deletions

View file

@ -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;
}
}