aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Drashna Jaelre <drashna@live.com>2019-02-14 13:28:14 -0800
committerGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-14 13:28:14 -0800
commita08be85780692021943bb11fb716d91994ddb223 (patch)
tree4234f6f6147b83dba17ce489502d155c4ae3974f
parent1e6797b4e7d888f0c0449e3cd577dc83eb4c4525 (diff)
downloadqmk_firmware-a08be85780692021943bb11fb716d91994ddb223.tar.gz
Add pin initializiation for KBD75 (#5129)
So that the LED indicator actually works
-rw-r--r--keyboards/kbdfans/kbd75/rev1/rev1.c5
-rw-r--r--keyboards/kbdfans/kbd75/rev2/rev2.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c
index 9ed08602a..d7d690381 100644
--- a/keyboards/kbdfans/kbd75/rev1/rev1.c
+++ b/keyboards/kbdfans/kbd75/rev1/rev1.c
@@ -10,3 +10,8 @@ void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}
+
+void matrix_init_kb(void) {
+ setPinOutput(B2);
+ matrix_init_user();
+}
diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.c b/keyboards/kbdfans/kbd75/rev2/rev2.c
index bec65d6a6..2168738fa 100644
--- a/keyboards/kbdfans/kbd75/rev2/rev2.c
+++ b/keyboards/kbdfans/kbd75/rev2/rev2.c
@@ -10,3 +10,8 @@ void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}
+
+void matrix_init_kb(void) {
+ setPinOutput(B2);
+ matrix_init_user();
+}