mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Merge pull request #7824 from etracer65/dshot_command_queue_fix
DSHOT command non-blocking motor selection fix
This commit is contained in:
commit
dfe5dc56e0
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ void pwmWriteDshotCommand(uint8_t index, uint8_t motorCount, uint8_t command, bo
|
|||
if (index == i || index == ALL_MOTORS) {
|
||||
commandControl->command[i] = command;
|
||||
} else {
|
||||
commandControl->command[i] = command;
|
||||
commandControl->command[i] = DSHOT_CMD_MOTOR_STOP;
|
||||
}
|
||||
}
|
||||
commandControl->waitingForIdle = !allMotorsAreIdle(motorCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue