You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, I used a 50ms delay after hitting a TinyUSB tuh_* API
call failure result to have a big safety margin. But, that seems
long enough that it might mess up animation loops. So, I tried
many builds with delays between 0ms and 20ms, testing unplug
detection with my big pile of USB devices.
A 15ms delay worked fine with everything I tried. My Full Speed
devices were marginal down to 13ms, but they stopped working at
12ms. Some of my Low Speed devices were okay down to 3ms, but the
Adafruit generic SNES gamepad was marginal below 12ms.
0 commit comments