summaryrefslogtreecommitdiffstats
path: root/keyboards/kbdfans/kbd75/rev1/rev1.c
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-02-15 16:01:40 +1100
committerDrashna Jaelre <drashna@live.com>2019-02-14 21:01:40 -0800
commit7c2bee8b8848d2dbfb3ff1f9d5bdd7558fd74b26 (patch)
treee2f69443cf439fdbaf3f1dfc619f21334a5dab8d /keyboards/kbdfans/kbd75/rev1/rev1.c
parent1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956 (diff)
Swap KBD75 caps lock LED pin levels (#5132)
Diffstat (limited to 'keyboards/kbdfans/kbd75/rev1/rev1.c')
-rw-r--r--keyboards/kbdfans/kbd75/rev1/rev1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c
index d7d6903817..151e395e3c 100644
--- 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) {