mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
b3b8ed79c8
This commit fixes the following bugs in the HCD - HCD control pipes fill incorrect transfer size _buffer_fill_ctrl() would fill the transfer descriptors length with wLength instead of transfer->num_bytes. Therefore, the remaining length would be incorrect when a control transfer requests more bytes than are available. - Fix USB_TRANSFER_FLAG_ZERO_PACK behavior The previous behavior of USB_TRANSFER_FLAG_ZERO_PACK was incorrect, and did not support interrupt pipes. A zero length packet can now be added to Bulk/Interrupt OUT transfers where the length is a multiple of the endpoint's MPS. - Fixed HCD port suspend and resume test case Halting a control pipe mid control transfer can lead some test devices to get stuck |
||
---|---|---|
.. | ||
test_hcd_bulk.c | ||
test_hcd_common.c | ||
test_hcd_common.h | ||
test_hcd_ctrl.c | ||
test_hcd_intr.c | ||
test_hcd_isoc.c | ||
test_hcd_port.c |