mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
fix adc pins
This commit is contained in:
parent
1541466dac
commit
f35559dbc6
2 changed files with 4 additions and 9 deletions
|
@ -133,16 +133,14 @@
|
|||
|
||||
// *************** ADC *****************************
|
||||
#define USE_ADC
|
||||
#define ADC3_DMA_STREAM DMA2_Stream0
|
||||
#define CURRENT_METER_ADC_PIN PC1
|
||||
#define VBAT_ADC_PIN PC0
|
||||
#define CURRENT_METER_ADC_PIN PC2
|
||||
#define RSSI_ADC_PIN PC1
|
||||
|
||||
#define DEFAULT_FEATURES (FEATURE_OSD | FEATURE_TELEMETRY | FEATURE_SOFTSERIAL | FEATURE_AIRMODE)
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
|
||||
#define CURRENT_METER_SCALE_DEFAULT 179
|
||||
|
||||
#define DEFAULT_FEATURES (FEATURE_OSD | FEATURE_TELEMETRY | FEATURE_SOFTSERIAL | FEATURE_AIRMODE)
|
||||
|
||||
#define USE_ESCSERIAL
|
||||
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue