]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/kc60/kc60.c
Chimera Ortho Readme (#1943)
[qmk_firmware.git] / keyboards / kc60 / kc60.c
1 #include "kc60.h"
2
3 void led_set_kb(uint8_t usb_led)
4 {
5     if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
6         // output low
7         DDRB |= (1<<2);
8         PORTB &= ~(1<<2);
9     } else {
10         // Hi-Z
11         DDRB &= ~(1<<2);
12         PORTB &= ~(1<<2);
13     }
14
15      led_set_user(usb_led);
16 }