summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/bluepill_f103c6
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-20 08:12:19 +1100
committerGitHub <noreply@github.com>2023-03-20 08:12:19 +1100
commit65a80f411f03be466d0b74c5b1d44f161e19ac7e (patch)
tree8d50fe66e700167fa758eb2763a7be6eb10a2c7f /keyboards/handwired/onekey/bluepill_f103c6
parent3c144fac5e2b634166f6b9cc0fc45029d63d3398 (diff)
Clean up APA102 config and add DD mapping (#20159)
Diffstat (limited to 'keyboards/handwired/onekey/bluepill_f103c6')
-rw-r--r--keyboards/handwired/onekey/bluepill_f103c6/config.h2
-rw-r--r--keyboards/handwired/onekey/bluepill_f103c6/info.json4
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/handwired/onekey/bluepill_f103c6/config.h b/keyboards/handwired/onekey/bluepill_f103c6/config.h
index 12f4596e7b..5edcf5a2e1 100644
--- a/keyboards/handwired/onekey/bluepill_f103c6/config.h
+++ b/keyboards/handwired/onekey/bluepill_f103c6/config.h
@@ -22,8 +22,6 @@
#define ADC_PIN A0
-#define RGB_CI_PIN A2
-
// This code does not fit into the really small flash of STM32F103x6 together
// with CONSOLE_ENABLE=yes, and the debugging console is probably more
// important for the "onekey" testing firmware. In a real firmware you may be
diff --git a/keyboards/handwired/onekey/bluepill_f103c6/info.json b/keyboards/handwired/onekey/bluepill_f103c6/info.json
index 353f074d92..9a21daf322 100644
--- a/keyboards/handwired/onekey/bluepill_f103c6/info.json
+++ b/keyboards/handwired/onekey/bluepill_f103c6/info.json
@@ -11,5 +11,9 @@
},
"rgblight": {
"pin": "A1"
+ },
+ "apa102": {
+ "data_pin": "A1",
+ "clock_pin": "A2"
}
}