circuitpython/supervisor/shared/usb
Scott Shawcroft d2860b58b0
Check background pending before sleep
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.

Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
..
tusb_config.h working! 2021-04-29 22:26:38 -04:00
usb.c Check background pending before sleep 2021-08-19 12:18:13 -07:00
usb_desc.c count in/out endpoints; allow more usb modules on low-endpoint boards 2021-05-13 21:59:02 -04:00
usb_msc_flash.c Enable a BLE workflow 2021-06-24 12:59:14 -07:00