Get rid of build warning on non DSHOT targets
This commit is contained in:
parent
a146a6bc4b
commit
e9af6c5fed
|
@ -219,11 +219,11 @@ void updateCurrentMeter(int32_t lastUpdateAt, rxConfig_t *rxConfig, uint16_t dea
|
|||
case CURRENT_SENSOR_NONE:
|
||||
amperage = 0;
|
||||
break;
|
||||
#ifdef USE_ESC_TELEMETRY
|
||||
case CURRENT_SENSOR_ESC:
|
||||
#ifdef USE_ESC_TELEMETRY
|
||||
amperage = getEscTelemetryCurrent();
|
||||
break;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef USE_ESC_TELEMETRY
|
||||
|
|
Loading…
Reference in New Issue