diff --git a/radio/src/targets/taranis/CMakeLists.txt b/radio/src/targets/taranis/CMakeLists.txt index 616c0e912..876007e0f 100644 --- a/radio/src/targets/taranis/CMakeLists.txt +++ b/radio/src/targets/taranis/CMakeLists.txt @@ -625,7 +625,7 @@ if(PCB STREQUAL XLITE OR PCB STREQUAL XLITES OR PCBREV STREQUAL COMMANDO8) targets/common/arm/stm32/sticks_pwm_driver.cpp) endif() -if(PCBREV STREQUAL MT12 OR PCBREV STREQUAL T14) +if(PCBREV STREQUAL MT12) set(FIRMWARE_SRC ${FIRMWARE_SRC} targets/common/arm/stm32/stm32_ws2812.cpp diff --git a/radio/src/targets/taranis/hal.h b/radio/src/targets/taranis/hal.h index e62e06e0b..0cde06a1a 100644 --- a/radio/src/targets/taranis/hal.h +++ b/radio/src/targets/taranis/hal.h @@ -1908,20 +1908,6 @@ #define LED_STRIP_TIMER_DMA_IRQn DMA2_Stream5_IRQn #define LED_STRIP_TIMER_DMA_IRQHandler DMA2_Stream5_IRQHandler #define LED_STRIP_REFRESH_PERIOD 50 //ms -#elif defined(RADIO_T14) - #define LED_STRIP_LENGTH 1 - #define LED_STRIP_GPIO GPIOA - #define LED_STRIP_GPIO_PIN_DATA LL_GPIO_PIN_10 // PA.10 / TIM1_CH3 - #define LED_STRIP_GPIO_PIN_AF LL_GPIO_AF_1 - #define LED_STRIP_TIMER TIM1 - #define LED_STRIP_TIMER_FREQ (PERI2_FREQUENCY * TIMER_MULT_APB2) - #define LED_STRIP_TIMER_CHANNEL LL_TIM_CHANNEL_CH3 - #define LED_STRIP_TIMER_DMA DMA2 - #define LED_STRIP_TIMER_DMA_CHANNEL LL_DMA_CHANNEL_6 - #define LED_STRIP_TIMER_DMA_STREAM LL_DMA_STREAM_5 - #define LED_STRIP_TIMER_DMA_IRQn DMA2_Stream5_IRQn - #define LED_STRIP_TIMER_DMA_IRQHandler DMA2_Stream5_IRQHandler - #define LED_STRIP_REFRESH_PERIOD 50 //ms #endif #if defined(FUNCTION_SWITCHES)