summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/handwired/onekey/kb2040/info.json2
-rw-r--r--keyboards/handwired/onekey/kb2040/rules.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/handwired/onekey/kb2040/info.json b/keyboards/handwired/onekey/kb2040/info.json
index 7982db4678..37ec3cf8c0 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 a5429ba993..df97352882 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