mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-07 11:59:00 +00:00
Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)
This commit is contained in:
@@ -308,7 +308,7 @@ void ws2812_init(void) {
|
||||
for (i = 0; i < WS2812_RESET_BIT_N; i++)
|
||||
ws2812_frame_buffer[i + WS2812_COLOR_BIT_N] = 0; // All reset bits are zero
|
||||
|
||||
palSetLineMode(RGB_DI_PIN, WS2812_OUTPUT_MODE);
|
||||
palSetLineMode(WS2812_DI_PIN, WS2812_OUTPUT_MODE);
|
||||
|
||||
// PWM Configuration
|
||||
//#pragma GCC diagnostic ignored "-Woverride-init" // Turn off override-init warning for this struct. We use the overriding ability to set a "default" channel config
|
||||
|
||||
Reference in New Issue
Block a user