#ifdef KEYBOARD_INTERFACE
if (setup.word1 == 0x02000921 && setup.word2 == ((1<<16)|KEYBOARD_INTERFACE)) {
keyboard_leds = endpoint0_buffer[0];
usb_start_sof_interrupts(NUM_INTERFACE);
usb_reboot_timer = 80; // TODO: 10 if only 12 Mbit/sec
}
#endif
Thanks for answer, KurtEIt took me a few minutes to figure out what you are asking...
If this works, one of us can put this into a Pull Request against the cores github project.