From: Drashna Jaelre Date: Thu, 14 Feb 2019 21:28:14 +0000 (-0800) Subject: Add pin initializiation for KBD75 (#5129) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a08be85780692021943bb11fb716d91994ddb223;p=qmk_firmware.git Add pin initializiation for KBD75 (#5129) So that the LED indicator actually works --- 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(); +}