esp-idf/components/usb
Darian Leung d75037cc57 usb_host: Fix incorrect memset() usage in HCD
This commit fixes incorrect usage of memset() in the HCD's various
_buffer_parse_...() functions. The memset was not clearing the qtd lists, and
were simply setting the first qtd to a non zero value (i.e., the length of
the QTD list).

However, no bug occurred as the subsequent _buffer_fill_...() functions would
overwrite the QTD list anyways.
2022-09-08 14:05:58 +02:00
..
include docs: fix all doxygen warnings 2022-05-12 14:50:03 +08:00
private_include usb: Hub Driver and USBH recover port automatically after disconnection 2022-01-06 15:12:16 +08:00
test usb: Remove -Wno-format compile option 2022-09-08 14:05:19 +02:00
CMakeLists.txt usb: Remove -Wno-format compile option 2022-09-08 14:05:19 +02:00
hcd.c usb_host: Fix incorrect memset() usage in HCD 2022-09-08 14:05:58 +02:00
hub.c Bugfix: make wTotalLength uint16_t to avoid truncation 2022-01-17 13:43:37 +01:00
Kconfig Add USB Host Library 2021-08-24 23:28:00 +08:00
maintainers.md usb: Fix how the HCD handles sudden disconnection 2021-11-02 14:30:58 +08:00
usb_helpers.c usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000) 2022-05-21 15:54:21 -07:00
usb_host.c usb: Update USB Host Library 2022-01-06 15:14:10 +08:00
usb_phy.c global: make periph enable/disable APIs private 2021-11-08 10:37:47 +08:00
usb_private.c Add USB Host Library 2021-08-24 23:28:00 +08:00
usbh.c usb: Remove -Wno-format compile option 2022-09-08 14:05:19 +02:00