mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
pwmWriteDshotCommand fix
This commit is contained in:
parent
51ca725f09
commit
8b36027d65
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue