Merge pull request #6813 from etracer65/rssi_adc_pin_target_fix

Fix RSSI_ADC pin defines
This commit is contained in:
Michael Keller 2018-09-22 04:42:29 +12:00 committed by GitHub
commit 16b4c6161c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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