1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Removed deprecated Dshot commands to enable / disable bidirectional Dshot.

This commit is contained in:
Michael Keller 2020-12-12 21:35:29 +01:00
parent 57c9c12781
commit 98b634adcd
3 changed files with 0 additions and 11 deletions

View file

@ -95,13 +95,6 @@ FAST_CODE void pwmWriteDshotInt(uint8_t index, uint16_t value)
/*If there is a command ready to go overwrite the value and send that instead*/
if (dshotCommandIsProcessing()) {
value = dshotCommandGetCurrent(index);
#ifdef USE_DSHOT_TELEMETRY
// reset telemetry debug statistics every time telemetry is enabled
if (value == DSHOT_CMD_SIGNAL_LINE_CONTINUOUS_ERPM_TELEMETRY) {
dshotTelemetryState.invalidPacketCount = 0;
dshotTelemetryState.readCount = 0;
}
#endif
if (value) {
motor->protocolControl.requestTelemetry = true;
}