diff options
author | Drashna Jaelre <drashna@live.com> | 2019-02-14 13:28:14 -0800 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-14 13:28:14 -0800 |
commit | a08be85780692021943bb11fb716d91994ddb223 (patch) | |
tree | 4234f6f6147b83dba17ce489502d155c4ae3974f /keyboards/kbdfans/kbd75 | |
parent | 1e6797b4e7d888f0c0449e3cd577dc83eb4c4525 (diff) |
Add pin initializiation for KBD75 (#5129)
So that the LED indicator actually works
Diffstat (limited to 'keyboards/kbdfans/kbd75')
-rw-r--r-- | keyboards/kbdfans/kbd75/rev1/rev1.c | 5 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/rev2/rev2.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c index 9ed08602a4..d7d6903817 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 bec65d6a6c..2168738fa3 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(); +} |