Globally enable ESC sensor support for F4 and F7 MCUs.

This commit is contained in:
Michael Keller 2017-04-24 13:48:46 +12:00 committed by mikeller
parent 68a1307909
commit 6b22fca1a5
8 changed files with 3 additions and 12 deletions

View File

@ -21,8 +21,6 @@
#define USBD_PRODUCT_STRING "AnyFCF7"
#define USE_ESC_SENSOR
#define LED0 PB7
#define LED1 PB6

View File

@ -144,8 +144,6 @@
#define VBAT_ADC_PIN PC3
#define CURRENT_METER_ADC_PIN PC2
#define USE_ESC_SENSOR
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

View File

@ -183,8 +183,6 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define USE_ESC_SENSOR
#define TARGET_IO_PORTA 0xffff
#define TARGET_IO_PORTB 0xffff
#define TARGET_IO_PORTC 0xffff

View File

@ -21,8 +21,6 @@
#define USBD_PRODUCT_STRING "FuryF7"
#define USE_ESC_SENSOR
#define LED0 PB5
#define LED1 PB4

View File

@ -120,7 +120,6 @@
#define USE_ADC
#define VBAT_ADC_PIN PC3
//#define USE_ESC_SENSOR
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

View File

@ -191,7 +191,7 @@
#else
//#define RSSI_ADC_PIN PA0
#endif
#define USE_ESC_SENSOR
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#if defined(CL_RACINGF4)
#define DEFAULT_FEATURES (FEATURE_TELEMETRY | FEATURE_OSD )

View File

@ -48,8 +48,6 @@
#endif
#define USE_ESC_SENSOR
#define LED0 PB5
#if defined(PODIUMF4)
#define LED1 PB4

View File

@ -45,12 +45,14 @@
#ifdef STM32F4
#define USE_DSHOT
#define USE_ESC_SENSOR
#define I2C3_OVERCLOCK true
#define TELEMETRY_IBUS
#endif
#ifdef STM32F7
#define USE_DSHOT
#define USE_ESC_SENSOR
#define I2C3_OVERCLOCK true
#define I2C4_OVERCLOCK true
#define TELEMETRY_IBUS