summaryrefslogtreecommitdiff
path: root/keyboards/tkw
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-03-03 04:16:47 +1100
committerGitHub <noreply@github.com>2024-03-02 17:16:47 +0000
commit569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3 (patch)
treeb2b280071523c452ca0771df3977e79de1165891 /keyboards/tkw
parent3bf1ce5cf80facc4136a8a2100e050d52cd3d029 (diff)
WS2812 PWM: prefix for DMA defines (#23111)
* WS2812 PWM: prefix for DMA defines * Add backward compatibility defines
Diffstat (limited to 'keyboards/tkw')
-rw-r--r--keyboards/tkw/grandiceps/config.h4
-rw-r--r--keyboards/tkw/stoutgat/v2/config.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/tkw/grandiceps/config.h b/keyboards/tkw/grandiceps/config.h
index a963fbfb51..a02e14f91f 100644
--- a/keyboards/tkw/grandiceps/config.h
+++ b/keyboards/tkw/grandiceps/config.h
@@ -20,5 +20,5 @@
20#define WS2812_PWM_DRIVER PWMD3 20#define WS2812_PWM_DRIVER PWMD3
21#define WS2812_PWM_CHANNEL 4 21#define WS2812_PWM_CHANNEL 4
22#define WS2812_PWM_PAL_MODE 2 22#define WS2812_PWM_PAL_MODE 2
23#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 23#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2
24#define WS2812_DMA_CHANNEL 5 24#define WS2812_PWM_DMA_CHANNEL 5
diff --git a/keyboards/tkw/stoutgat/v2/config.h b/keyboards/tkw/stoutgat/v2/config.h
index bf68edcfae..79f47b9bb3 100644
--- a/keyboards/tkw/stoutgat/v2/config.h
+++ b/keyboards/tkw/stoutgat/v2/config.h
@@ -18,8 +18,8 @@
18#define WS2812_PWM_DRIVER PWMD3 18#define WS2812_PWM_DRIVER PWMD3
19#define WS2812_PWM_CHANNEL 4 19#define WS2812_PWM_CHANNEL 4
20#define WS2812_PWM_PAL_MODE 2 20#define WS2812_PWM_PAL_MODE 2
21#define WS2812_DMA_STREAM STM32_DMA1_STREAM2 21#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2
22#define WS2812_DMA_CHANNEL 5 22#define WS2812_PWM_DMA_CHANNEL 5
23 23
24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
25#define LOCKING_SUPPORT_ENABLE 25#define LOCKING_SUPPORT_ENABLE