mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 10:46:02 -04:00
0a948594cb
This commit fixes how the USBH handling of a sudden device disconnection, more specifically handling of device gone. - Previously the USBH would only halt, flush, and dequeue the device's default EP, then send a device gone event to the Host Library layer. - Now the USBH will also halt and flush all non-default EPs, allowing all of the URBs to be dequeud. - Some internal object members are now protected by a mutex instead of a spinlock. Closes https://github.com/espressif/esp-idf/issues/7505 |
||
---|---|---|
.. | ||
include | ||
private_include | ||
test | ||
CMakeLists.txt | ||
hcd.c | ||
hub.c | ||
Kconfig | ||
maintainers.md | ||
usb_helpers.c | ||
usb_host.c | ||
usb_phy.c | ||
usb_private.c | ||
usbh.c |