diff --git a/src/main/target/AIR32/target.h b/src/main/target/AIR32/target.h index 1cf10c683..e7afb03ce 100644 --- a/src/main/target/AIR32/target.h +++ b/src/main/target/AIR32/target.h @@ -96,8 +96,6 @@ //#define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PB2 -#define LED_STRIP - #define SPEKTRUM_BIND // USART2, PB4 #define BIND_PIN PB4 diff --git a/src/main/target/AIRHEROF3/target.h b/src/main/target/AIRHEROF3/target.h index c137a59e9..108cb24c4 100755 --- a/src/main/target/AIRHEROF3/target.h +++ b/src/main/target/AIRHEROF3/target.h @@ -83,8 +83,6 @@ #define ADC_INSTANCE ADC2 #define VBAT_ADC_PIN PA4 -#define LED_STRIP - #define DEFAULT_FEATURES FEATURE_VBAT #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/ALIENFLIGHTF1/target.h b/src/main/target/ALIENFLIGHTF1/target.h index 1061f82d6..56f73d71b 100644 --- a/src/main/target/ALIENFLIGHTF1/target.h +++ b/src/main/target/ALIENFLIGHTF1/target.h @@ -61,9 +61,6 @@ #define RSSI_ADC_PIN PA1 #define EXTERNAL1_ADC_PIN PA5 - -#define LED_STRIP - #define SPEKTRUM_BIND // USART2, PA3 #define BIND_PIN PA3 diff --git a/src/main/target/ALIENFLIGHTF3/target.h b/src/main/target/ALIENFLIGHTF3/target.h index 345799243..4b6386f8a 100644 --- a/src/main/target/ALIENFLIGHTF3/target.h +++ b/src/main/target/ALIENFLIGHTF3/target.h @@ -127,8 +127,6 @@ #define SERIALRX_UART SERIAL_PORT_USART2 #define RX_CHANNELS_TAER -#define LED_STRIP - #define USE_SERIAL_4WAY_BLHELI_INTERFACE // IO - stm32f303cc in 48pin package diff --git a/src/main/target/ALIENFLIGHTF4/target.h b/src/main/target/ALIENFLIGHTF4/target.h index d798cb924..cecd4bc2c 100644 --- a/src/main/target/ALIENFLIGHTF4/target.h +++ b/src/main/target/ALIENFLIGHTF4/target.h @@ -152,9 +152,6 @@ #define RSSI_ADC_PIN PC4 #define EXTERNAL1_ADC_GPIO_PIN PC5 -// LED strip configuration using RC5 pin. -#define LED_STRIP - #define SPEKTRUM_BIND // USART2, PA3 #define BIND_PIN PA3 diff --git a/src/main/target/ANYFCF7/target.h b/src/main/target/ANYFCF7/target.h index 2ea9ca20e..6dd3ecc52 100644 --- a/src/main/target/ANYFCF7/target.h +++ b/src/main/target/ANYFCF7/target.h @@ -143,8 +143,6 @@ #define CURRENT_METER_ADC_PIN PC1 #define RSSI_ADC_GPIO_PIN PC2 -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define DEFAULT_FEATURES (FEATURE_BLACKBOX) diff --git a/src/main/target/BETAFLIGHTF3/target.h b/src/main/target/BETAFLIGHTF3/target.h index a3043b497..04c906052 100755 --- a/src/main/target/BETAFLIGHTF3/target.h +++ b/src/main/target/BETAFLIGHTF3/target.h @@ -120,8 +120,6 @@ #define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PB2 -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL diff --git a/src/main/target/BLUEJAYF4/target.h b/src/main/target/BLUEJAYF4/target.h index 1d6b5d3e6..482f3ee7f 100644 --- a/src/main/target/BLUEJAYF4/target.h +++ b/src/main/target/BLUEJAYF4/target.h @@ -146,7 +146,6 @@ #define CURRENT_METER_ADC_PIN PC2 #define USE_ESC_SENSOR -#define LED_STRIP #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT diff --git a/src/main/target/CC3D/target.h b/src/main/target/CC3D/target.h index 1ed738d15..a5adf65a0 100644 --- a/src/main/target/CC3D/target.h +++ b/src/main/target/CC3D/target.h @@ -110,7 +110,6 @@ //#undef USE_SERVOS #undef BARO #undef SONAR -#undef LED_STRIP #undef USE_SERIAL_4WAY_BLHELI_INTERFACE //#undef USE_SERIALRX_SPEKTRUM // SRXL, DSM2 and DSMX protocol //#undef USE_SERIALRX_SBUS // Frsky and Futaba receivers @@ -121,6 +120,7 @@ #undef USE_SERIALRX_XBUS // JR #endif +#undef LED_STRIP #define DEFAULT_RX_FEATURE FEATURE_RX_PPM // IO - from schematics diff --git a/src/main/target/CHEBUZZF3/target.h b/src/main/target/CHEBUZZF3/target.h index e6574a06c..e141d69ff 100644 --- a/src/main/target/CHEBUZZF3/target.h +++ b/src/main/target/CHEBUZZF3/target.h @@ -109,6 +109,8 @@ #define RSSI_ADC_PIN PC2 #define EXTERNAL1_ADC_PIN PC3 +#undef LED_STRIP + // IO - assuming 303 in 64pin package, TODO #define TARGET_IO_PORTA 0xffff #define TARGET_IO_PORTB 0xffff diff --git a/src/main/target/COLIBRI/target.h b/src/main/target/COLIBRI/target.h index 3129a4fa5..9cf92bd1a 100644 --- a/src/main/target/COLIBRI/target.h +++ b/src/main/target/COLIBRI/target.h @@ -120,8 +120,6 @@ #define I2C3_SCL PA8 #define I2C3_SDA PC9 -#define LED_STRIP - // alternative defaults for Colibri/Gemini target #define TARGET_CONFIG diff --git a/src/main/target/COLIBRI_RACE/target.h b/src/main/target/COLIBRI_RACE/target.h index 3565c7a28..cb7f26331 100755 --- a/src/main/target/COLIBRI_RACE/target.h +++ b/src/main/target/COLIBRI_RACE/target.h @@ -116,8 +116,6 @@ #define RSSI_ADC_PIN PC2 #define EXTERNAL1_ADC_PIN PC3 -#define LED_STRIP - #define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_FAILSAFE | FEATURE_AIRMODE | FEATURE_LED_STRIP) #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/DOGE/target.h b/src/main/target/DOGE/target.h index b0872a92f..51e6d6ae0 100644 --- a/src/main/target/DOGE/target.h +++ b/src/main/target/DOGE/target.h @@ -127,7 +127,6 @@ #define USE_MPU_DATA_READY_SIGNAL #define ENSURE_MPU_DATA_READY_IS_LOW -#define LED_STRIP #define USE_ESC_SENSOR #define DEFAULT_RX_FEATURE FEATURE_RX_PPM diff --git a/src/main/target/ELLE0/target.h b/src/main/target/ELLE0/target.h index 3d3862020..4c1f03b77 100644 --- a/src/main/target/ELLE0/target.h +++ b/src/main/target/ELLE0/target.h @@ -93,6 +93,8 @@ #define VBAT_ADC_PIN PC4 #define CURRENT_METER_ADC_PIN PC5 +#undef LED_STRIP + #define DEFAULT_FEATURES (FEATURE_VBAT) #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SPEKTRUM2048 diff --git a/src/main/target/F4BY/target.h b/src/main/target/F4BY/target.h index ab5b29a26..39199d241 100644 --- a/src/main/target/F4BY/target.h +++ b/src/main/target/F4BY/target.h @@ -140,6 +140,8 @@ #define CURRENT_METER_ADC_PIN PC2 #define RSSI_ADC_PIN PC1 +#undef LED_STRIP + #define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_BLACKBOX) #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/FISHDRONEF4/target.h b/src/main/target/FISHDRONEF4/target.h index b6ee920e2..cf3a9fb13 100644 --- a/src/main/target/FISHDRONEF4/target.h +++ b/src/main/target/FISHDRONEF4/target.h @@ -134,8 +134,6 @@ #define SERIALRX_UART SERIAL_PORT_USART3 // *************** Others ************************** -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define USE_SERIAL_4WAY_BLHELI_INTERFACE diff --git a/src/main/target/FURYF3/target.h b/src/main/target/FURYF3/target.h index a89f8970b..4c95f8959 100644 --- a/src/main/target/FURYF3/target.h +++ b/src/main/target/FURYF3/target.h @@ -147,8 +147,6 @@ #define RSSI_ADC_PIN PA1 #define CURRENT_METER_ADC_PIN PA2 -#define LED_STRIP - #define SONAR #define SONAR_ECHO_PIN PB1 #define SONAR_TRIGGER_PIN PB0 diff --git a/src/main/target/FURYF4/target.h b/src/main/target/FURYF4/target.h index 6ba72a9ad..ae67882d9 100644 --- a/src/main/target/FURYF4/target.h +++ b/src/main/target/FURYF4/target.h @@ -170,8 +170,6 @@ #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define SPEKTRUM_BIND diff --git a/src/main/target/FURYF7/target.h b/src/main/target/FURYF7/target.h index 2e9c3a7f8..ff108c7c8 100644 --- a/src/main/target/FURYF7/target.h +++ b/src/main/target/FURYF7/target.h @@ -137,6 +137,8 @@ #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT +#undef LED_STRIP + #define DEFAULT_FEATURES (FEATURE_BLACKBOX) #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/IMPULSERCF3/target.h b/src/main/target/IMPULSERCF3/target.h index 457c9e45c..19858114a 100644 --- a/src/main/target/IMPULSERCF3/target.h +++ b/src/main/target/IMPULSERCF3/target.h @@ -89,8 +89,6 @@ #define RSSI_ADC_PIN PA1 #define VBAT_ADC_PIN PA2 -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT #define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_BLACKBOX) diff --git a/src/main/target/IRCFUSIONF3/target.h b/src/main/target/IRCFUSIONF3/target.h index 90ddf8234..5ca1bbf33 100644 --- a/src/main/target/IRCFUSIONF3/target.h +++ b/src/main/target/IRCFUSIONF3/target.h @@ -78,11 +78,14 @@ #define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PB2 +#undef LED_STRIP + #define SPEKTRUM_BIND // USART3, #define BIND_PIN PB11 #define USE_SERIAL_4WAY_BLHELI_INTERFACE + /* #define USE_SERIAL_4WAY_BLHELI_BOOTLOADER #define USE_SERIAL_4WAY_SK_BOOTLOADER diff --git a/src/main/target/ISHAPEDF3/target.h b/src/main/target/ISHAPEDF3/target.h index ddcfc7d78..fcd61d833 100644 --- a/src/main/target/ISHAPEDF3/target.h +++ b/src/main/target/ISHAPEDF3/target.h @@ -95,7 +95,6 @@ #define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PB2 -#define LED_STRIP #define WS2811_PIN PA8 #define WS2811_TIMER TIM1 #define WS2811_DMA_CHANNEL DMA1_Channel2 diff --git a/src/main/target/KAKUTEF4/target.h b/src/main/target/KAKUTEF4/target.h index b2fcbb487..8c4deb0e6 100644 --- a/src/main/target/KAKUTEF4/target.h +++ b/src/main/target/KAKUTEF4/target.h @@ -128,8 +128,6 @@ #define RSSI_ADC_PIN PC1 #define RSSI_ADC_CHANNEL ADC_Channel_11 -#define LED_STRIP - #define DEFAULT_FEATURES (FEATURE_BLACKBOX | FEATURE_OSD) #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/KISSFC/target.h b/src/main/target/KISSFC/target.h index 81a5eade2..01851f3d5 100644 --- a/src/main/target/KISSFC/target.h +++ b/src/main/target/KISSFC/target.h @@ -48,6 +48,7 @@ #define ACC #define USE_ACC_MPU6050 #define ACC_MPU6050_ALIGN CW90_DEG +#undef LED_STRIP #else #define GYRO #define USE_GYRO_MPU6050 @@ -56,8 +57,6 @@ #define ACC #define USE_ACC_MPU6050 #define ACC_MPU6050_ALIGN CW180_DEG - -#define LED_STRIP #endif #define USE_VCP diff --git a/src/main/target/KIWIF4/target.h b/src/main/target/KIWIF4/target.h index 302500538..2f5b4af27 100644 --- a/src/main/target/KIWIF4/target.h +++ b/src/main/target/KIWIF4/target.h @@ -123,9 +123,6 @@ #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS -#define LED_STRIP - - #define SPEKTRUM_BIND // USART3 Rx, PB11 #define BIND_PIN PB11 diff --git a/src/main/target/LUX_RACE/target.h b/src/main/target/LUX_RACE/target.h index a5a76edb6..3ea53966c 100644 --- a/src/main/target/LUX_RACE/target.h +++ b/src/main/target/LUX_RACE/target.h @@ -147,8 +147,6 @@ #define RSSI_ADC_PIN PC2 #define EXTERNAL1_ADC_PIN PC3 -#define LED_STRIP - #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS #define SERIALRX_UART SERIAL_PORT_USART2 diff --git a/src/main/target/MICROSCISKY/target.h b/src/main/target/MICROSCISKY/target.h index d1d7fc693..11425cfa8 100644 --- a/src/main/target/MICROSCISKY/target.h +++ b/src/main/target/MICROSCISKY/target.h @@ -69,8 +69,6 @@ #define USE_I2C #define I2C_DEVICE (I2CDEV_2) -#define LED_STRIP - #define SPEKTRUM_BIND // USART2, PA3 #define BIND_PIN PA3 diff --git a/src/main/target/MOTOLAB/target.h b/src/main/target/MOTOLAB/target.h index e7a75ddc2..e78417d1d 100644 --- a/src/main/target/MOTOLAB/target.h +++ b/src/main/target/MOTOLAB/target.h @@ -96,7 +96,6 @@ //#define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PB2 -#define LED_STRIP #define USE_ESC_SENSOR #define SPEKTRUM_BIND diff --git a/src/main/target/MULTIFLITEPICO/target.h b/src/main/target/MULTIFLITEPICO/target.h index 7c69507c5..a03a113a1 100755 --- a/src/main/target/MULTIFLITEPICO/target.h +++ b/src/main/target/MULTIFLITEPICO/target.h @@ -113,8 +113,6 @@ #undef USE_UART1_TX_DMA #endif -#define LED_STRIP - //#define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL diff --git a/src/main/target/NAZE/target.h b/src/main/target/NAZE/target.h index 3040036bf..6b99305e9 100644 --- a/src/main/target/NAZE/target.h +++ b/src/main/target/NAZE/target.h @@ -141,8 +141,6 @@ #define RSSI_ADC_PIN PA1 #define EXTERNAL1_ADC_PIN PA5 -#define LED_STRIP - #define SPEKTRUM_BIND // USART2, PA3 #define BIND_PIN PA3 diff --git a/src/main/target/NERO/target.h b/src/main/target/NERO/target.h index c496b2659..85aa854b1 100644 --- a/src/main/target/NERO/target.h +++ b/src/main/target/NERO/target.h @@ -120,8 +120,6 @@ #define VBAT_ADC_PIN PC3 //#define USE_ESC_SENSOR -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define DEFAULT_FEATURES FEATURE_BLACKBOX diff --git a/src/main/target/NUCLEOF7/target.h b/src/main/target/NUCLEOF7/target.h index 810e62817..3d4a472b8 100644 --- a/src/main/target/NUCLEOF7/target.h +++ b/src/main/target/NUCLEOF7/target.h @@ -144,8 +144,6 @@ #define CURRENT_METER_ADC_PIN PC0 #define RSSI_ADC_GPIO_PIN PC3 -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT #define DEFAULT_FEATURES (FEATURE_BLACKBOX) diff --git a/src/main/target/OMNIBUS/target.h b/src/main/target/OMNIBUS/target.h index c6f157e30..d88c343d5 100644 --- a/src/main/target/OMNIBUS/target.h +++ b/src/main/target/OMNIBUS/target.h @@ -152,8 +152,6 @@ //#define RSSI_ADC_PIN PB1 //#define ADC_INSTANCE ADC3 -#define LED_STRIP - #define TRANSPONDER #define REDUCE_TRANSPONDER_CURRENT_DRAW_WHEN_USB_CABLE_PRESENT diff --git a/src/main/target/OMNIBUSF4/target.h b/src/main/target/OMNIBUSF4/target.h index 6820c2f62..1e55afd7f 100644 --- a/src/main/target/OMNIBUSF4/target.h +++ b/src/main/target/OMNIBUSF4/target.h @@ -165,8 +165,6 @@ #define USE_ESC_SENSOR -#define LED_STRIP - #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define DEFAULT_FEATURES (FEATURE_BLACKBOX | FEATURE_VBAT | FEATURE_OSD) diff --git a/src/main/target/PIKOBLX/target.h b/src/main/target/PIKOBLX/target.h index 2ddb46ae9..0be2c8989 100644 --- a/src/main/target/PIKOBLX/target.h +++ b/src/main/target/PIKOBLX/target.h @@ -76,8 +76,6 @@ #define CURRENT_METER_ADC_PIN PB2 #define VBAT_ADC_PIN PA5 -#define LED_STRIP - #define TRANSPONDER #define TRANSPONDER_GPIO GPIOA #define TRANSPONDER_GPIO_AHB_PERIPHERAL RCC_AHBPeriph_GPIOA diff --git a/src/main/target/RACEBASE/target.h b/src/main/target/RACEBASE/target.h index c1b9874ad..9362626b7 100755 --- a/src/main/target/RACEBASE/target.h +++ b/src/main/target/RACEBASE/target.h @@ -100,8 +100,6 @@ #define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PA6 -#define LED_STRIP - #define OSD #define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT diff --git a/src/main/target/RCEXPLORERF3/target.h b/src/main/target/RCEXPLORERF3/target.h index 991bc1cb1..fda731bb3 100644 --- a/src/main/target/RCEXPLORERF3/target.h +++ b/src/main/target/RCEXPLORERF3/target.h @@ -103,8 +103,6 @@ #define CURRENT_METER_ADC_PIN PB2 #define RSSI_ADC_PIN PA6 -#define LED_STRIP // LED strip configuration using PWM motor output pin 5. - #define DEFAULT_FEATURES FEATURE_VBAT #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/REVO/target.h b/src/main/target/REVO/target.h index 97b0caa09..9c7c0c01a 100644 --- a/src/main/target/REVO/target.h +++ b/src/main/target/REVO/target.h @@ -187,8 +187,6 @@ #define VBAT_ADC_CHANNEL ADC_Channel_13 #endif -#define LED_STRIP - #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #if defined(PODIUMF4) #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/REVONANO/target.h b/src/main/target/REVONANO/target.h index 7bc812e66..998f7ac0c 100644 --- a/src/main/target/REVONANO/target.h +++ b/src/main/target/REVONANO/target.h @@ -78,6 +78,8 @@ #define USE_I2C #define I2C_DEVICE (I2CDEV_3) +#undef LED_STRIP + #define USE_ADC #define CURRENT_METER_ADC_PIN PA7 #define VBAT_ADC_PIN PA6 diff --git a/src/main/target/RG_SSD_F3/target.h b/src/main/target/RG_SSD_F3/target.h index 752da3e31..afe500fec 100644 --- a/src/main/target/RG_SSD_F3/target.h +++ b/src/main/target/RG_SSD_F3/target.h @@ -124,7 +124,6 @@ #define VBAT_ADC_PIN PA4 #define CURRENT_METER_ADC_PIN PA5 #define VBAT_SCALE_DEFAULT 119 -#define LED_STRIP #define TRANSPONDER #define TRANSPONDER_GPIO GPIOA diff --git a/src/main/target/SINGULARITY/target.h b/src/main/target/SINGULARITY/target.h index 1599595e7..dd9069e71 100644 --- a/src/main/target/SINGULARITY/target.h +++ b/src/main/target/SINGULARITY/target.h @@ -86,8 +86,6 @@ #define VBAT_ADC_PIN PB2 #define VBAT_SCALE_DEFAULT 77 -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT #define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_BLACKBOX) diff --git a/src/main/target/SIRINFPV/target.h b/src/main/target/SIRINFPV/target.h index b92e4e564..9ae3a3f2a 100644 --- a/src/main/target/SIRINFPV/target.h +++ b/src/main/target/SIRINFPV/target.h @@ -133,6 +133,8 @@ // Performance logging for SD card operations: // #define AFATFS_USE_INTROSPECTIVE_LOGGING +#undef LED_STRIP + #define BOARD_HAS_VOLTAGE_DIVIDER #define USE_ADC #define ADC_INSTANCE ADC1 diff --git a/src/main/target/SPARKY/target.h b/src/main/target/SPARKY/target.h index e2fc4e2aa..a1c7f97f6 100644 --- a/src/main/target/SPARKY/target.h +++ b/src/main/target/SPARKY/target.h @@ -89,8 +89,6 @@ #define DEFAULT_RX_FEATURE FEATURE_RX_PPM -#define LED_STRIP - #define USE_SERIAL_4WAY_BLHELI_INTERFACE #define SPEKTRUM_BIND diff --git a/src/main/target/SPARKY2/target.h b/src/main/target/SPARKY2/target.h index 89963059e..a516a8f46 100644 --- a/src/main/target/SPARKY2/target.h +++ b/src/main/target/SPARKY2/target.h @@ -121,6 +121,8 @@ #define VBAT_ADC_PIN PC3 #define CURRENT_METER_ADC_PIN PC2 +#undef LED_STRIP + #define DEFAULT_FEATURES FEATURE_BLACKBOX #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/SPRACINGF3/target.h b/src/main/target/SPRACINGF3/target.h index 7a1ac661d..f369576eb 100644 --- a/src/main/target/SPRACINGF3/target.h +++ b/src/main/target/SPRACINGF3/target.h @@ -177,8 +177,6 @@ #undef USE_UART1_TX_DMA #endif -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT #define DEFAULT_RX_FEATURE FEATURE_RX_PPM diff --git a/src/main/target/SPRACINGF3EVO/target.h b/src/main/target/SPRACINGF3EVO/target.h index 179b91af7..3fbf7f0e3 100755 --- a/src/main/target/SPRACINGF3EVO/target.h +++ b/src/main/target/SPRACINGF3EVO/target.h @@ -141,8 +141,6 @@ #define CURRENT_METER_ADC_PIN PA5 #endif -#define LED_STRIP - #define TRANSPONDER #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT diff --git a/src/main/target/SPRACINGF3MINI/target.h b/src/main/target/SPRACINGF3MINI/target.h index 4517bea03..c85920401 100644 --- a/src/main/target/SPRACINGF3MINI/target.h +++ b/src/main/target/SPRACINGF3MINI/target.h @@ -169,8 +169,6 @@ #define CURRENT_METER_ADC_PIN PA5 #define RSSI_ADC_PIN PB2 -#define LED_STRIP - #define TRANSPONDER #define REDUCE_TRANSPONDER_CURRENT_DRAW_WHEN_USB_CABLE_PRESENT diff --git a/src/main/target/SPRACINGF3NEO/target.h b/src/main/target/SPRACINGF3NEO/target.h index e1b77c3aa..eba7318c4 100755 --- a/src/main/target/SPRACINGF3NEO/target.h +++ b/src/main/target/SPRACINGF3NEO/target.h @@ -143,7 +143,6 @@ #define CURRENT_METER_ADC_PIN PC2 #define RSSI_ADC_PIN PC0 -#define LED_STRIP #define USE_LED_STRIP_ON_DMA1_CHANNEL2 #define WS2811_PIN PA8 #define WS2811_TIMER TIM1 diff --git a/src/main/target/STM32F3DISCOVERY/target.h b/src/main/target/STM32F3DISCOVERY/target.h index e2fa0d48c..7c4cdb2b2 100644 --- a/src/main/target/STM32F3DISCOVERY/target.h +++ b/src/main/target/STM32F3DISCOVERY/target.h @@ -174,8 +174,6 @@ #define USE_ESC_SENSOR -#define LED_STRIP - #define SPEKTRUM_BIND #define BIND_PIN PA3 // USART2, PA3 diff --git a/src/main/target/TINYFISH/target.h b/src/main/target/TINYFISH/target.h index 4c02cb022..294965d8a 100644 --- a/src/main/target/TINYFISH/target.h +++ b/src/main/target/TINYFISH/target.h @@ -100,7 +100,6 @@ #define ADC_INSTANCE ADC3 #define VBAT_SCALE_DEFAULT 100 -#define LED_STRIP #define WS2811_PIN PA8 #define WS2811_TIMER TIM1 #define WS2811_DMA_CHANNEL DMA1_Channel2 diff --git a/src/main/target/VRRACE/target.h b/src/main/target/VRRACE/target.h index 732f49e1f..89aa9f696 100644 --- a/src/main/target/VRRACE/target.h +++ b/src/main/target/VRRACE/target.h @@ -157,6 +157,8 @@ #define RSSI_ADC_PIN PB1 #define CURRENT_METER_ADC_PIN PA5 +#undef LED_STRIP + #define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_SOFTSERIAL | FEATURE_TELEMETRY) #define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL #define SERIALRX_PROVIDER SERIALRX_SBUS diff --git a/src/main/target/X_RACERSPI/target.h b/src/main/target/X_RACERSPI/target.h index f713ec7ff..585c8bfcd 100644 --- a/src/main/target/X_RACERSPI/target.h +++ b/src/main/target/X_RACERSPI/target.h @@ -110,8 +110,6 @@ #undef USE_UART1_TX_DMA #endif -#define LED_STRIP - #define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT #define DEFAULT_RX_FEATURE FEATURE_RX_PPM diff --git a/src/main/target/YUPIF4/target.h b/src/main/target/YUPIF4/target.h index f4625a21f..461af8aef 100644 --- a/src/main/target/YUPIF4/target.h +++ b/src/main/target/YUPIF4/target.h @@ -141,7 +141,6 @@ #define RSSI_ADC_GPIO_PIN PC0 #define USE_ESC_TELEMETRY -#define LED_STRIP // Default configuration #define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT diff --git a/src/main/target/common.h b/src/main/target/common.h index ff6e964cb..c284d0ad0 100644 --- a/src/main/target/common.h +++ b/src/main/target/common.h @@ -83,6 +83,7 @@ #if (FLASH_SIZE > 64) #define BLACKBOX +#define LED_STRIP #define TELEMETRY #define TELEMETRY_FRSKY #define TELEMETRY_HOTT