forked from mirror/qmk_firmware
WS2812 PWM: prefix for DMA defines (#23111)
* WS2812 PWM: prefix for DMA defines * Add backward compatibility defines
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
#define WS2812_PWM_DRIVER PWMD1
|
||||
#define WS2812_PWM_CHANNEL 3
|
||||
#define WS2812_PWM_PAL_MODE 2
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
|
||||
#define WS2812_DMA_CHANNEL 3
|
||||
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5
|
||||
#define WS2812_PWM_DMA_CHANNEL 3
|
||||
#define WS2812_EXTERNAL_PULLUP
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
|
||||
@@ -40,9 +40,9 @@
|
||||
#define WS2812_PWM_DRIVER PWMD1
|
||||
#define WS2812_PWM_CHANNEL 2
|
||||
#define WS2812_PWM_PAL_MODE 1
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
|
||||
#define WS2812_DMA_CHANNEL 7
|
||||
#define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM1_UP
|
||||
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6
|
||||
#define WS2812_PWM_DMA_CHANNEL 7
|
||||
#define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM1_UP
|
||||
|
||||
// RGB Pullup
|
||||
#define WS2812_EXTERNAL_PULLUP
|
||||
|
||||
Reference in New Issue
Block a user