esp-idf/components/usb/private_include
Darian Leung 1f5dc0f5a1 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-11-07 13:50:59 +08:00
..
hcd.h usb: USB Host stack uses USB PHY driver 2022-02-18 15:51:05 +08:00
hub.h Add USB Host Library 2021-08-24 23:28:00 +08:00
usb_private.h usb_host: Add check to prevent submitting already inflight transfers 2022-11-07 13:50:59 +08:00
usbh.h usb: Hub Driver and USBH recover port automatically after disconnection 2022-02-18 15:51:05 +08:00