From 9ce1e6ddc31c4eb9d9c803dfa1b191480d0a7ee4 Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Mon, 27 Apr 2020 20:00:04 -0400 Subject: [PATCH] Fix BOOTGRACE arming disabled reset when motor protocol is DISABLED --- src/main/fc/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/core.c b/src/main/fc/core.c index 26539e23d5..cb8e2e581b 100644 --- a/src/main/fc/core.c +++ b/src/main/fc/core.c @@ -277,7 +277,7 @@ void updateArmingStatus(void) // We also need to prevent arming until it's possible to send DSHOT commands. // Otherwise if the initial arming is in crash-flip the motor direction commands // might not be sent. - && dshotCommandsAreEnabled(DSHOT_CMD_TYPE_INLINE) + && (!isMotorProtocolDshot() || dshotCommandsAreEnabled(DSHOT_CMD_TYPE_INLINE)) #endif ) { // If so, unset the grace time arming disable flag