commit c5e3275299e5dc8f5da14df8115272875d38151c parent 97910fac06d89dac5bd9791d7d544966f976e591 Author: Joel Challis <git@zvecr.com> Date: Sat, 7 Jan 2023 17:02:40 +0000 Fix `handwired/onekey/kb2040` WS2812 pin (#19517) Diffstat:
| M | keyboards/handwired/onekey/kb2040/info.json | | | 2 | +- |
| M | keyboards/handwired/onekey/kb2040/rules.mk | | | 2 | ++ |
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/keyboards/handwired/onekey/kb2040/info.json b/keyboards/handwired/onekey/kb2040/info.json @@ -6,6 +6,6 @@ "rows": ["GP5"] }, "rgblight": { - "pin": "A1" + "pin": "GP17" } } diff --git a/keyboards/handwired/onekey/kb2040/rules.mk b/keyboards/handwired/onekey/kb2040/rules.mk @@ -1,4 +1,6 @@ OLED_ENABLE = yes OLED_DRIVER = SSD1306 +WS2812_DRIVER = vendor + OPT_DEFS += -DHAL_USE_I2C=TRUE