pwmWriteDshotCommand fix
This commit is contained in:
parent
51ca725f09
commit
8b36027d65
|
@ -395,10 +395,7 @@ void pwmWriteDshotCommand(uint8_t index, uint8_t command)
|
||||||
for (; repeats; repeats--) {
|
for (; repeats; repeats--) {
|
||||||
motor->requestTelemetry = true;
|
motor->requestTelemetry = true;
|
||||||
pwmWriteDshotInt(index, command);
|
pwmWriteDshotInt(index, command);
|
||||||
if (pwmMotorsEnabled) {
|
pwmCompleteDshotMotorUpdate(0);
|
||||||
pwmCompleteDshotMotorUpdate(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
delay(1);
|
delay(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue