]> git.friedersdorff.com Git - max/tmk_keyboard.git/commit
usb_usb: Remove hook_usb_startup_wait_loop
authortmk <hasu@tmk-kbd.com>
Sun, 29 Mar 2020 05:37:55 +0000 (14:37 +0900)
committertmk <hasu@tmk-kbd.com>
Fri, 8 May 2020 13:39:55 +0000 (22:39 +0900)
commite2ac2d746fa3f2c3dfed97cf4a9a148a5fb2beca
tree428141f5b4e18bda5908675e933fccce9ec2a888
parent2173767a78e3353f40b2bc6bb3f29bc67c896470
usb_usb: Remove hook_usb_startup_wait_loop

matrix_scan in hook_usb_startup_wait_loop is not required for
FC660C since commit dd7b75: SOF timing fix of USB_Host_Shield_2.0.
Without INTERRUPT_CONTROL_ENDPOINT the matrix_scan blocks around 2300ms
and prevents getting USB configured. In the result console_putc
starts sending before hid_listen is ready and chars are lost.

console_is_ready delay value should be around 5000ms if matrix_scan
is needed in hook_usb_startup_wait_loop.
converter/usb_usb/usb_usb.cpp