1
0
Fork 0

Fix the clueboard2 led code

This commit is contained in:
skullY 2016-04-05 20:27:24 -07:00
parent 5e822417d7
commit 34dd96187c

View file

@ -25,7 +25,7 @@ void led_init_ports() {
DDRB |= (1<<4);
}
void led_set(uint8_t usb_led) {
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// Turn capslock on
PORTB |= (1<<4);