diff --git a/src/main/target/LUMBAF3/target.h b/src/main/target/LUMBAF3/target.h index f8f7d7486..cdcf2ea74 100644 --- a/src/main/target/LUMBAF3/target.h +++ b/src/main/target/LUMBAF3/target.h @@ -67,7 +67,7 @@ #define SOFTSERIAL1_TX_PIN PB5 #define SOFTSERIAL1_RX_PIN PB0 -#define BOARD_HAS_VOLTAGE_DIVIDER +#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define USE_ADC #define CURRENT_METER_ADC_PIN PB1 #define VBAT_ADC_PIN PA0 diff --git a/src/main/target/OMNIBUSF7/target.h b/src/main/target/OMNIBUSF7/target.h index ee3647d23..d62348e72 100644 --- a/src/main/target/OMNIBUSF7/target.h +++ b/src/main/target/OMNIBUSF7/target.h @@ -144,8 +144,8 @@ #define SENSORS_SET (SENSOR_ACC | SENSOR_BARO) -#define BOARD_HAS_CURRENT_SENSOR -#define BOARD_HAS_VOLTAGE_SENSOR +#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC +#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define USE_ADC #define CURRENT_METER_ADC_PIN PC2