diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-26 18:22:12 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 18:22:12 +1100 |
commit | 36ce81df592ca8e9f9fed498e513437aa1cae54f (patch) | |
tree | 5d1eb5bec831a7037d97b43babfee78c6fbf47cb /keyboards/planck | |
parent | 7e54defa20bd6a4f199fb1da0f25e83f0d55bf25 (diff) |
Move `WS2812_DRIVER` to data driven (#20248)
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/rev6/info.json | 3 | ||||
-rw-r--r-- | keyboards/planck/rev6/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/planck/rev6_drop/info.json | 3 | ||||
-rw-r--r-- | keyboards/planck/rev6_drop/rules.mk | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/planck/rev6/info.json b/keyboards/planck/rev6/info.json index 904b998d03..484d63dace 100644 --- a/keyboards/planck/rev6/info.json +++ b/keyboards/planck/rev6/info.json @@ -8,6 +8,9 @@ "pid": "0xA4F9", "device_version": "0.0.6" }, + "ws2812": { + "driver": "pwm" + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"] diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk index 2ab8a36fe0..50b117dac0 100644 --- a/keyboards/planck/rev6/rules.mk +++ b/keyboards/planck/rev6/rules.mk @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality AUDIO_ENABLE = yes # Audio output RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -WS2812_DRIVER = pwm RGB_MATRIX_ENABLE = no RGB_MATRIX_DRIVER = WS2812 diff --git a/keyboards/planck/rev6_drop/info.json b/keyboards/planck/rev6_drop/info.json index 0b5279b2fb..ca44f17199 100644 --- a/keyboards/planck/rev6_drop/info.json +++ b/keyboards/planck/rev6_drop/info.json @@ -8,6 +8,9 @@ "pid": "0xA4F9", "device_version": "0.0.6" }, + "ws2812": { + "driver": "pwm" + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "A7", "B0"], "rows": ["A10", "A9", "A8", "B15", "C13", "C14", "C15", "A2"] diff --git a/keyboards/planck/rev6_drop/rules.mk b/keyboards/planck/rev6_drop/rules.mk index 5fdf117649..378870d779 100644 --- a/keyboards/planck/rev6_drop/rules.mk +++ b/keyboards/planck/rev6_drop/rules.mk @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = yes # Audio output -WS2812_DRIVER = pwm CUSTOM_MATRIX = yes # Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE RGB_MATRIX_ENABLE = no |