pwmWriteDshotCommand fix

This commit is contained in:
Martin Budden 2017-07-06 09:01:56 +01:00
parent 51ca725f09
commit 8b36027d65
1 changed files with 1 additions and 4 deletions

View File

@ -395,10 +395,7 @@ void pwmWriteDshotCommand(uint8_t index, uint8_t command)
for (; repeats; repeats--) {
motor->requestTelemetry = true;
pwmWriteDshotInt(index, command);
if (pwmMotorsEnabled) {
pwmCompleteDshotMotorUpdate(0);
}
pwmCompleteDshotMotorUpdate(0);
delay(1);
}
}