mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Made Dshot commands work in a non-blocking way.
This commit is contained in:
parent
0045b36320
commit
51763a40f9
3 changed files with 11 additions and 10 deletions
|
@ -97,7 +97,7 @@ void pwmCompleteDshotMotorUpdate(uint8_t motorCount)
|
|||
UNUSED(motorCount);
|
||||
|
||||
/* If there is a dshot command loaded up, time it correctly with motor update*/
|
||||
if (pwmProcessDshotCommand(motorCount)) {
|
||||
if (!pwmProcessDshotCommand(motorCount)) {
|
||||
return; //Skip motor update
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue