summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-07 17:02:40 +0000
committerGitHub <noreply@github.com>2023-01-07 17:02:40 +0000
commitc5e3275299e5dc8f5da14df8115272875d38151c (patch)
tree9314b0a5e4c549a9bab8e6d503a8f773f5e2ff7f /keyboards/handwired
parent97910fac06d89dac5bd9791d7d544966f976e591 (diff)
Fix `handwired/onekey/kb2040` WS2812 pin (#19517)
Diffstat (limited to 'keyboards/handwired')
-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