Merge pull request #4893 from martinbudden/bfa_use_defines2

Removed unnecessary USE_ #defines from target.h files
This commit is contained in:
Martin Budden 2018-01-04 17:21:55 +00:00 committed by GitHub
commit 91bca2825a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 0 additions and 56 deletions

View File

@ -112,9 +112,6 @@
#define VBAT_ADC_PIN PA4
#define VBAT_SCALE_DEFAULT 20
// LED strip configuration.
#define USE_LED_STRIP
#define BINDPLUG_PIN PB12
#define DEFAULT_FEATURES FEATURE_MOTOR_STOP

View File

@ -153,9 +153,6 @@
#define CURRENT_METER_OFFSET_DEFAULT 2500 // ACS712/714-30A - 0A = 2.5V
#define CURRENT_METER_SCALE_DEFAULT -667 // ACS712/714-30A - 66.666 mV/A inverted mode
// LED strip configuration.
#define USE_LED_STRIP
#define BINDPLUG_PIN PB2
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT

View File

@ -169,9 +169,6 @@
#define CURRENT_METER_OFFSET_DEFAULT 2500 // ACS712/714-30A - 0A = 2.5V
#define CURRENT_METER_SCALE_DEFAULT -667 // ACS712/714-30A - 66.666 mV/A inverted mode
// LED strip configuration.
#define USE_LED_STRIP
#define BINDPLUG_PIN PB2
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT

View File

@ -55,8 +55,6 @@
#define LED0_PIN PC12 // conflicts UART5
#define LED1_PIN PD2 // conflicts UART5
#define USE_LED_STRIP
/* Lost Quad Mode and Alerts - RCX03-787 Low Voltage Active Buzzer
*/
#define BEEPER PA2

View File

@ -141,8 +141,6 @@
#define RSSI_ADC_PIN PC2
#define USE_LED_STRIP
#define USE_TRANSPONDER
#define DEFAULT_FEATURES ( FEATURE_TELEMETRY | FEATURE_OSD | FEATURE_AIRMODE )

View File

@ -124,8 +124,6 @@
#define CURRENT_METER_ADC_PIN PC1
#define VBAT_ADC_PIN PC2
#define USE_LED_STRIP
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SBUS
#define SERIALRX_UART SERIAL_PORT_USART6

View File

@ -141,8 +141,6 @@
#define RSSI_ADC_PIN PC3
#define CURRENT_METER_SCALE_DEFAULT 250 // 3.3/120A = 25mv/A
// LED strip configuration.
#define USE_LED_STRIP
#define BINDPLUG_PIN PB2
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

View File

@ -95,16 +95,10 @@
#define VBAT_SCALE_DEFAULT 40
#undef USE_GPS
#undef USE_MAG
#undef USE_RANGEFINDER
#undef USE_RANGEFINDER_HCSR04
#undef USE_SERVOS
#undef BEEPER
#define USE_BLACKBOX
#define USE_LED_STRIP
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define BRUSHED_MOTORS

View File

@ -24,7 +24,6 @@
/*--------------LED----------------*/
#define LED0_PIN PB5
#define LED1_PIN PB6
#define USE_LED_STRIP
/*---------------------------------*/
/*------------BEEPER---------------*/
@ -119,8 +118,6 @@
#define SERIAL_PORT_COUNT 5
//SPECKTRUM BIND
#define USE_CMS
#define USE_MSP_DISPLAYPORT
/*---------------------------------*/
/*-------------SPIs----------------*/

View File

@ -22,7 +22,6 @@
/*--------------LED----------------*/
#define LED0_PIN PA15
#define LED1_PIN PB6
#define USE_LED_STRIP
/*---------------------------------*/
/*------------BEEPER---------------*/
@ -100,8 +99,6 @@
#define SERIAL_PORT_COUNT 4
#define USE_CMS
#define USE_MSP_DISPLAYPORT
/*---------------------------------*/
/*-------------SPIs----------------*/

View File

@ -168,8 +168,6 @@
#define VBAT_ADC_PIN PC3
#define RSSI_ADC_PIN PC5
#define USE_LED_STRIP
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
#define DEFAULT_FEATURES (FEATURE_OSD)

View File

@ -89,8 +89,6 @@
#define SERIAL_PORT_COUNT 6
#define USE_LED_STRIP
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SBUS
#define SERIALRX_UART SERIAL_PORT_USART2

View File

@ -161,8 +161,6 @@
#define I2C1_SDA PB7
*/
#define USE_LED_STRIP
#define USE_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define VBAT_ADC_PIN PC1
@ -188,6 +186,3 @@
#define USABLE_TIMER_CHANNEL_COUNT 12
#define USED_TIMERS ( TIM_N(2) | TIM_N(3) | TIM_N(5) | TIM_N(8) | TIM_N(9) )
#define USE_CMS
#define USE_MSP_DISPLAYPORT

View File

@ -149,8 +149,6 @@
#define RX_CHANNELS_TAER
#define DEFAULT_FEATURES (FEATURE_OSD)
#define USE_LED_STRIP
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define TARGET_IO_PORTA 0xffff

View File

@ -75,8 +75,6 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define USE_LED_STRIP
#define CAMERA_CONTROL_PIN PA15
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

View File

@ -171,8 +171,6 @@
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define CURRENT_METER_SCALE_DEFAULT 179
#define USE_LED_STRIP
#define USE_ESCSERIAL
#define ESCSERIAL_TIMER_TX_PIN PA3
#define USE_SERIAL_4WAY_BLHELI_INTERFACE

View File

@ -153,8 +153,6 @@
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define CURRENT_METER_SCALE_DEFAULT 179
#define USE_LED_STRIP
#define USE_ESCSERIAL
#define USE_SERIAL_4WAY_BLHELI_INTERFACE

View File

@ -135,7 +135,6 @@
// Reserved pins, not connected
//#define RSSI_ADC_GPIO_PIN PC2
#define USE_LED_STRIP
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT

View File

@ -188,8 +188,6 @@
#define VBAT_ADC_PIN PC3
#define RSSI_ADC_PIN PC5
#define USE_LED_STRIP
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
#define DEFAULT_FEATURES (FEATURE_OSD)

View File

@ -161,7 +161,6 @@
#define USE_OSD_OVER_MSP_DISPLAYPORT
#define USE_MSP_CURRENT_METER
#define USE_LED_STRIP
#define USE_TRANSPONDER
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT

View File

@ -188,7 +188,6 @@
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define USE_LED_STRIP
#define USE_TRANSPONDER
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT

View File

@ -133,8 +133,6 @@
#define MAX7456_SPI_INSTANCE SPI2
#define MAX7456_SPI_CS_PIN SPI2_NSS_PIN
//#define USE_CMS
//#define USE_SDCARD
//
//#define SDCARD_SPI_INSTANCE SPI2

View File

@ -109,9 +109,6 @@
#define CURRENT_METER_ADC_PIN PC2
#define CURRENT_METER_SCALE_DEFAULT 250 // 3.3/120A = 25mv/A
// LED strip configuration.
#define USE_LED_STRIP
// Default configuration
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SBUS