mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Dshot RPM Telemetry Refactoring (#13012)
This commit is contained in:
parent
0c9d7e6c50
commit
5769b3021e
22 changed files with 166 additions and 112 deletions
|
@ -6119,8 +6119,8 @@ static void cliDshotTelemetryInfo(const char *cmdName, char *cmdline)
|
|||
#endif
|
||||
|
||||
for (uint8_t i = 0; i < getMotorCount(); i++) {
|
||||
const uint16_t erpm = getDshotTelemetry(i);
|
||||
const uint16_t rpm = erpmToRpm(erpm);
|
||||
const uint16_t erpm = getDshotErpm(i);
|
||||
const uint16_t rpm = lrintf(getDshotRpm(i));
|
||||
|
||||
cliPrintf("%5d %c%c%c%c%c %6d %6d %6d",
|
||||
i + 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue