chore(t14): remove unused ws2812 (#4905)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user