mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Added delay before sending Dshot commands to avoid read errors.
This commit is contained in:
parent
ab53b178ca
commit
d4b1c06bf8
3 changed files with 32 additions and 21 deletions
|
@ -265,6 +265,7 @@ void tryArm(void)
|
|||
#ifdef USE_DSHOT
|
||||
if (isMotorProtocolDshot() && isModeActivationConditionPresent(BOXFLIPOVERAFTERCRASH)) {
|
||||
pwmDisableMotors();
|
||||
delay(1);
|
||||
|
||||
if (!IS_RC_MODE_ACTIVE(BOXFLIPOVERAFTERCRASH)) {
|
||||
flipOverAfterCrashMode = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue