summaryrefslogtreecommitdiffstats
path: root/keyboards/kbdfans/kbd75/rev1/rev1.c
blob: 9ed08602a477047dc3835b4002a74cf863a0f67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "rev1.h"

void led_set_kb(uint8_t usb_led) {
	// 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);
  }

	led_set_user(usb_led);
}