1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 17:55:30 +03:00

Merge pull request #10031 from Mimoja/patch-1

Fix build for statistics-disabled DSHOT telemetry
This commit is contained in:
Michael Keller 2020-07-19 18:09:56 +12:00 committed by mikeller
parent 1955365a47
commit caa0d683c3

View file

@ -248,9 +248,9 @@ FAST_CODE_NOINLINE bool pwmStartDshotMotorUpdate(void)
} }
#ifdef USE_DSHOT_TELEMETRY_STATS #ifdef USE_DSHOT_TELEMETRY_STATS
updateDshotTelemetryQuality(&dshotTelemetryQuality[i], validTelemetryPacket, currentTimeMs); updateDshotTelemetryQuality(&dshotTelemetryQuality[i], validTelemetryPacket, currentTimeMs);
}
#endif #endif
} }
}
pwmDshotSetDirectionOutput(&dmaMotors[i]); pwmDshotSetDirectionOutput(&dmaMotors[i]);
} }
inputStampUs = 0; inputStampUs = 0;