Fix the clueboard2 led code

pull/286/head
skullY 9 years ago
parent 5e822417d7
commit 34dd96187c

@ -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);

Loading…
Cancel
Save