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:
parent
97ff8a154e
commit
a59846a45a
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue