1
0
Fork 0
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:
mikeller 2017-09-10 12:55:47 +12:00
parent ab53b178ca
commit d4b1c06bf8
3 changed files with 32 additions and 21 deletions

View file

@ -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;