esp-idf/components/usb/private_include
Darian Leung e17e066828 usb_host: Add check to prevent submitting already inflight transfers
This commit adds a simple flag/check in the USB Host Library that prevents
users from submitting a transfer that is already inflight.

- A transfer is considered inflight as soon as it is submitted by calling
usb_host_transfer_submit() or usb_host_transfer_submit_control()
- An inflight transfer remains inflight up until right before its callback
is called by one of the USB Host Library handler functions.

Closes https://github.com/espressif/esp-idf/issues/8748
2022-10-31 13:56:59 +08:00
..
hcd.h usb: USB Host stack uses USB PHY driver 2022-01-06 15:09:39 +08:00
hub.h
usb_private.h usb_host: Add check to prevent submitting already inflight transfers 2022-10-31 13:56:59 +08:00
usbh.h usb: Hub Driver and USBH recover port automatically after disconnection 2022-01-06 15:12:16 +08:00