1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Merge pull request #9739 from etracer65/fix_bootgrace_reset

This commit is contained in:
Michael Keller 2020-04-29 20:02:23 +12:00 committed by GitHub
commit b480103d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,7 +277,7 @@ void updateArmingStatus(void)
// We also need to prevent arming until it's possible to send DSHOT commands. // 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 // Otherwise if the initial arming is in crash-flip the motor direction commands
// might not be sent. // might not be sent.
&& dshotCommandsAreEnabled(DSHOT_CMD_TYPE_INLINE) && (!isMotorProtocolDshot() || dshotCommandsAreEnabled(DSHOT_CMD_TYPE_INLINE))
#endif #endif
) { ) {
// If so, unset the grace time arming disable flag // If so, unset the grace time arming disable flag