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

Rename overlooked Dshot command function name

This commit is contained in:
jflyper 2019-08-13 08:47:37 +09:00
parent b310f9b348
commit bb8e0686c1
4 changed files with 4 additions and 4 deletions

View file

@ -111,7 +111,7 @@ 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 = pwmGetDshotCommand(index);
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) {