Skip to content

Commit

Permalink
Swap KBD75 caps lock LED pin levels (#5132)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and drashna committed Feb 15, 2019
1 parent 1e1b55f commit 7c2bee8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions keyboards/kbdfans/kbd75/rev1/rev1.c
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
8 changes: 4 additions & 4 deletions keyboards/kbdfans/kbd75/rev2/rev2.c
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit 7c2bee8

Please sign in to comment.