diff options
author | Ryan <[email protected]> | 2024-03-03 04:16:47 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-02 17:16:47 +0000 |
commit | 569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3 (patch) | |
tree | b2b280071523c452ca0771df3977e79de1165891 /keyboards/splitkb/kyria/rev2 | |
parent | 3bf1ce5cf80facc4136a8a2100e050d52cd3d029 (diff) | |
download | qmk_firmware-569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3.tar.gz qmk_firmware-569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3.zip |
WS2812 PWM: prefix for DMA defines (#23111)
* WS2812 PWM: prefix for DMA defines
* Add backward compatibility defines
Diffstat (limited to 'keyboards/splitkb/kyria/rev2')
-rw-r--r-- | keyboards/splitkb/kyria/rev2/config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/splitkb/kyria/rev2/config.h b/keyboards/splitkb/kyria/rev2/config.h index 452e011f0a..54d8f0985a 100644 --- a/keyboards/splitkb/kyria/rev2/config.h +++ b/keyboards/splitkb/kyria/rev2/config.h @@ -38,9 +38,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 # define WS2812_PWM_CHANNEL 4 // default: 2 # define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. -# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU. +# define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU. #else # define WS2812_DI_PIN D3 # define SOFT_SERIAL_PIN D2 |