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:
parent
1955365a47
commit
caa0d683c3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue