Fixed battery source defines.

This commit is contained in:
mikeller 2017-06-04 11:10:28 +12:00
parent 6e4af36c9c
commit fb6254aa1f
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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