1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 23:35:34 +03:00

Removed BATTERY_SENSOR.NONE

This commit is contained in:
Bas Delfos 2016-12-08 20:59:24 +01:00
parent 97ff8a154e
commit a59846a45a
2 changed files with 2 additions and 3 deletions

View file

@ -419,7 +419,7 @@ static const char * const lookupTableCurrentSensor[] = {
}; };
static const char * const lookupTableBatterySensor[] = { static const char * const lookupTableBatterySensor[] = {
"NONE", "ADC", "ESC" "ADC", "ESC"
}; };
#ifdef USE_SERVOS #ifdef USE_SERVOS

View file

@ -36,8 +36,7 @@ typedef enum {
} currentSensor_e; } currentSensor_e;
typedef enum { typedef enum {
BATTERY_SENSOR_NONE = 0, BATTERY_SENSOR_ADC = 0,
BATTERY_SENSOR_ADC,
BATTERY_SENSOR_ESC BATTERY_SENSOR_ESC
} batterySensor_e; } batterySensor_e;