Fix the clueboard2 led code
This commit is contained in:
parent
5e822417d7
commit
34dd96187c
@ -25,7 +25,7 @@ void led_init_ports() {
|
|||||||
DDRB |= (1<<4);
|
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)) {
|
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
|
||||||
// Turn capslock on
|
// Turn capslock on
|
||||||
PORTB |= (1<<4);
|
PORTB |= (1<<4);
|
||||||
|
Loading…
Reference in New Issue
Block a user