1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 09:45:37 +03:00

Fixed Dshot command sending to all motors.

This commit is contained in:
mikeller 2017-08-23 01:52:49 +12:00
parent cda31ef88a
commit 91ffa4b88c
7 changed files with 39 additions and 36 deletions

View file

@ -285,7 +285,7 @@ void escSensorProcess(timeUs_t currentTimeUs)
{
const timeMs_t currentTimeMs = currentTimeUs / 1000;
if (!escSensorPort) {
if (!escSensorPort || !pwmAreMotorsEnabled()) {
return;
}