aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/rev3/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/rev3/config.h')
-rw-r--r--keyboards/preonic/rev3/config.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/preonic/rev3/config.h b/keyboards/preonic/rev3/config.h
index d37f300b0..0e8312445 100644
--- a/keyboards/preonic/rev3/config.h
+++ b/keyboards/preonic/rev3/config.h
@@ -113,19 +113,19 @@
113/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ 113/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
114//#define MIDI_TONE_KEYCODE_OCTAVES 1 114//#define MIDI_TONE_KEYCODE_OCTAVES 1
115 115
116// #define WS2812_LED_N 2 116/*
117// #define RGBLED_NUM WS2812_LED_N 117 * WS2812 Underglow Matrix options
118// #define WS2812_TIM_N 2 118 */
119// #define WS2812_TIM_CH 2
120// #define PORT_WS2812 GPIOA
121// #define PIN_WS2812 1
122// #define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA stream for TIMx_UP (look up in reference manual under DMA Channel selection)
123//#define WS2812_DMA_CHANNEL 7 // DMA channel for TIMx_UP
124//#define WS2812_EXTERNAL_PULLUP
125#define RGB_DI_PIN A1 119#define RGB_DI_PIN A1
126#define RGBLED_NUM 9 120#define RGBLED_NUM 9
127#define RGBLIGHT_ANIMATIONS 121#define RGBLIGHT_ANIMATIONS
128// RGB Matrix support 122// RGB Matrix support
129#define DRIVER_LED_TOTAL RGBLED_NUM 123#define DRIVER_LED_TOTAL RGBLED_NUM
130 124
125#define WS2812_PWM_DRIVER PWMD2
126#define WS2812_PWM_CHANNEL 2
127#define WS2812_PWM_PAL_MODE 1
128#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
129#define WS2812_DMA_CHANNEL 2
130
131#endif 131#endif