1
0
Fork 0
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:
mikeller 2018-06-01 00:30:33 +12:00 committed by Michael Keller
parent 0045b36320
commit 51763a40f9
3 changed files with 11 additions and 10 deletions

View file

@ -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
}