diff options
| -rw-r--r-- | keyboards/kbdfans/kbd75/rev1/rev1.c | 8 | ||||
| -rw-r--r-- | 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 index d7d690381..151e395e3 100644 --- a/keyboards/kbdfans/kbd75/rev1/rev1.c +++ b/keyboards/kbdfans/kbd75/rev1/rev1.c | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | #include "rev1.h" | 1 | #include "rev1.h" |
| 2 | 2 | ||
| 3 | void led_set_kb(uint8_t usb_led) { | 3 | void led_set_kb(uint8_t usb_led) { |
| 4 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 4 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here |
| 5 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { | 5 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { |
| 6 | writePinHigh(B2); | ||
| 7 | } else { | ||
| 8 | writePinLow(B2); | 6 | writePinLow(B2); |
| 7 | } else { | ||
| 8 | writePinHigh(B2); | ||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | led_set_user(usb_led); | 11 | led_set_user(usb_led); |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | void matrix_init_kb(void) { | 14 | void matrix_init_kb(void) { |
diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.c b/keyboards/kbdfans/kbd75/rev2/rev2.c index 2168738fa..bf91d4009 100644 --- a/keyboards/kbdfans/kbd75/rev2/rev2.c +++ b/keyboards/kbdfans/kbd75/rev2/rev2.c | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | #include "rev2.h" | 1 | #include "rev2.h" |
| 2 | 2 | ||
| 3 | void led_set_kb(uint8_t usb_led) { | 3 | void led_set_kb(uint8_t usb_led) { |
| 4 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 4 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here |
| 5 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { | 5 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { |
| 6 | writePinHigh(B2); | ||
| 7 | } else { | ||
| 8 | writePinLow(B2); | 6 | writePinLow(B2); |
| 7 | } else { | ||
| 8 | writePinHigh(B2); | ||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | led_set_user(usb_led); | 11 | led_set_user(usb_led); |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | void matrix_init_kb(void) { | 14 | void matrix_init_kb(void) { |
