From c5e3275299e5dc8f5da14df8115272875d38151c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 7 Jan 2023 17:02:40 +0000 Subject: [PATCH] Fix `handwired/onekey/kb2040` WS2812 pin (#19517) --- keyboards/handwired/onekey/kb2040/info.json | 2 +- 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 index 7982db46782..37ec3cf8c0a 100644 --- 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 index a5429ba9935..df973528828 100644 --- 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