Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@etracer65
Copy link
Member

When the motor protocol defaults to DISABLED the BOOTGRACE arming disabled reason would never reset because DSHOT commands would never be enabled (because protocol wasn't DSHOT). The motor protocol has it's own arming disabled so it should not block the boot grace period timeout.

@etracer65 etracer65 added this to the 4.2 milestone Apr 28, 2020
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably even go for (!isMotorProtocolDshot() || dshotCommandsAreEnabled(DSHOT_CMD_TYPE_INLINE)) - no point to wait for Dshot commands for any non-Dshot protocols.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Updated.

@etracer65 etracer65 force-pushed the fix_bootgrace_reset branch from 73361ad to 9ce1e6d Compare April 28, 2020 13:23
@mikeller mikeller merged commit b480103 into betaflight:master Apr 29, 2020
@etracer65 etracer65 deleted the fix_bootgrace_reset branch June 2, 2020 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants