aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/yd60mq/yd60mq.c
blob: 96306d6a660238720048be30d333007425cb9344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "yd60mq.h"

void led_set_kb(uint8_t usb_led) {
    if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
        setPinOutput(F4);
        writePinLow(F4);
    } else {
        setPinInput(F4);
        writePinLow(F4);
	}

    led_set_user(usb_led);
}