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:
|
case CURRENT_SENSOR_NONE:
|
||||||
amperage = 0;
|
amperage = 0;
|
||||||
break;
|
break;
|
||||||
#ifdef USE_ESC_TELEMETRY
|
|
||||||
case CURRENT_SENSOR_ESC:
|
case CURRENT_SENSOR_ESC:
|
||||||
|
#ifdef USE_ESC_TELEMETRY
|
||||||
amperage = getEscTelemetryCurrent();
|
amperage = getEscTelemetryCurrent();
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_ESC_TELEMETRY
|
#ifdef USE_ESC_TELEMETRY
|
||||||
|
|
Loading…
Reference in New Issue