Merge pull request #3199 from mikeller/fix_battery_config_defines

Fixed battery source defines.
This commit is contained in:
Martin Budden 2017-06-04 15:06:43 +01:00 committed by GitHub
commit f6c5726d35
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@
#define SOFTSERIAL1_TX_PIN PB5 #define SOFTSERIAL1_TX_PIN PB5
#define SOFTSERIAL1_RX_PIN PB0 #define SOFTSERIAL1_RX_PIN PB0
#define BOARD_HAS_VOLTAGE_DIVIDER #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define USE_ADC #define USE_ADC
#define CURRENT_METER_ADC_PIN PB1 #define CURRENT_METER_ADC_PIN PB1
#define VBAT_ADC_PIN PA0 #define VBAT_ADC_PIN PA0

View File

@ -144,8 +144,8 @@
#define SENSORS_SET (SENSOR_ACC | SENSOR_BARO) #define SENSORS_SET (SENSOR_ACC | SENSOR_BARO)
#define BOARD_HAS_CURRENT_SENSOR #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define BOARD_HAS_VOLTAGE_SENSOR #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define USE_ADC #define USE_ADC
#define CURRENT_METER_ADC_PIN PC2 #define CURRENT_METER_ADC_PIN PC2