3 void led_set_user(uint8_t usb_led) {
6 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
7 DDRB |= (1 << 6); PORTB &= ~(1 << 6);
9 DDRB &= ~(1 << 6); PORTB &= ~(1 << 6);
13 if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
14 DDRB |= (1 << 5); PORTB &= ~(1 << 5);
16 DDRB &= ~(1 << 5); PORTB &= ~(1 << 5);