qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 7c2bee8b8848d2dbfb3ff1f9d5bdd7558fd74b26
parent 1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956
Author: fauxpark <fauxpark@gmail.com>
Date:   Fri, 15 Feb 2019 16:01:40 +1100

Swap KBD75 caps lock LED pin levels (#5132)


Diffstat:
keyboards/kbdfans/kbd75/rev1/rev1.c | 8++++----
keyboards/kbdfans/kbd75/rev2/rev2.c | 8++++----
2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c @@ -1,14 +1,14 @@ #include "rev1.h" void led_set_kb(uint8_t usb_led) { - // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here + // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { - writePinHigh(B2); - } else { writePinLow(B2); + } else { + writePinHigh(B2); } - led_set_user(usb_led); + led_set_user(usb_led); } void matrix_init_kb(void) { diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.c b/keyboards/kbdfans/kbd75/rev2/rev2.c @@ -1,14 +1,14 @@ #include "rev2.h" void led_set_kb(uint8_t usb_led) { - // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here + // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { - writePinHigh(B2); - } else { writePinLow(B2); + } else { + writePinHigh(B2); } - led_set_user(usb_led); + led_set_user(usb_led); } void matrix_init_kb(void) {