- the 100ms delay causes keystroke drop; this is observable with pressing Numlock key on AEK repeatedly - without the delay LED sync problem doesn't occur nowled_matrix
void led_set(uint8_t usb_led) | void led_set(uint8_t usb_led) | ||||
{ | { | ||||
// need a wait to send command without miss | |||||
_delay_ms(100); | |||||
adb_host_kbd_led(~usb_led); | adb_host_kbd_led(~usb_led); | ||||
} | } |