Merge pull request #6813 from etracer65/rssi_adc_pin_target_fix
Fix RSSI_ADC pin defines
This commit is contained in:
commit
16b4c6161c
|
@ -156,7 +156,7 @@
|
|||
#define USE_ADC
|
||||
#define VBAT_ADC_PIN PC0
|
||||
#define CURRENT_METER_ADC_PIN PC1
|
||||
#define RSSI_ADC_GPIO_PIN PC2
|
||||
#define RSSI_ADC_PIN PC2
|
||||
|
||||
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
#define VBAT_ADC_PIN PC0
|
||||
#define CURRENT_METER_ADC_PIN PC1
|
||||
// Reserved pins, not connected
|
||||
//#define RSSI_ADC_GPIO_PIN PC2
|
||||
//#define RSSI_ADC_PIN PC2
|
||||
|
||||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
#define USE_ADC
|
||||
#define VBAT_ADC_PIN PA3
|
||||
#define CURRENT_METER_ADC_PIN PC0
|
||||
#define RSSI_ADC_GPIO_PIN PC3
|
||||
#define RSSI_ADC_PIN PC3
|
||||
|
||||
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
#define USE_ADC
|
||||
#define VBAT_ADC_PIN PA3
|
||||
#define CURRENT_METER_ADC_PIN PC0
|
||||
#define RSSI_ADC_GPIO_PIN PC3
|
||||
#define RSSI_ADC_PIN PC3
|
||||
|
||||
//#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
|
||||
#define USE_ADC
|
||||
#define RSSI_ADC_GPIO_PIN PC0
|
||||
#define RSSI_ADC_PIN PC0
|
||||
#define VBAT_ADC_PIN PC1
|
||||
#define CURRENT_METER_ADC_PIN PC2
|
||||
#define CURRENT_METER_SCALE_DEFAULT 150
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
// *************** ADC *****************************
|
||||
#define USE_ADC
|
||||
#define ADC1_DMA_STREAM DMA2_Stream0
|
||||
#define RSSI_ADC_GPIO_PIN PC0
|
||||
#define RSSI_ADC_PIN PC0
|
||||
#define VBAT_ADC_PIN PC1
|
||||
#define CURRENT_METER_ADC_PIN PC2
|
||||
#define CURRENT_METER_SCALE_DEFAULT 235
|
||||
|
|
Loading…
Reference in New Issue