Fixed battery source defines.
This commit is contained in:
parent
6e4af36c9c
commit
fb6254aa1f
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue