From a7eccffa3864adf894c81a7b324dce277834c13a Mon Sep 17 00:00:00 2001 From: etracer65 Date: Fri, 30 Mar 2018 01:09:35 -0400 Subject: [PATCH] Clear crash flip mode flag on disarming (#5566) Previously the flag was only set during arming so after crash flip mode was used the flag would stay active until the next arming. This caused the "CRASH FLIP" warning message to erroneously display on the OSD when disarmed. --- src/main/fc/fc_core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/fc/fc_core.c b/src/main/fc/fc_core.c index f919d17286..4e44b668ee 100644 --- a/src/main/fc/fc_core.c +++ b/src/main/fc/fc_core.c @@ -180,6 +180,9 @@ void updateArmingStatus(void) unsetArmingDisabled(ARMING_DISABLED_BOOT_GRACE_TIME); } + // Clear the crash flip active status + flipOverAfterCrashMode = false; + // If switch is used for arming then check it is not defaulting to on when the RX link recovers from a fault if (!isUsingSticksForArming()) { static bool hadRx = false;