mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
Merge branch 'fix/usb_host_ep_char_ls_via_fs' into 'master'
fix(usb_host): Correctly initialize set pipe ep char Closes IDF-12980 See merge request espressif/esp-idf!38631
This commit is contained in:
@@ -1623,6 +1623,7 @@ static void pipe_set_ep_char(const hcd_pipe_config_t *pipe_config, usb_transfer_
|
|||||||
ep_char->mps = USB_EP_DESC_GET_MPS(pipe_config->ep_desc);
|
ep_char->mps = USB_EP_DESC_GET_MPS(pipe_config->ep_desc);
|
||||||
}
|
}
|
||||||
ep_char->dev_addr = pipe_config->dev_addr;
|
ep_char->dev_addr = pipe_config->dev_addr;
|
||||||
|
ep_char->ls_via_fs_hub = 0;
|
||||||
if (pipe_idx > 0) {
|
if (pipe_idx > 0) {
|
||||||
// TODO: remove warning after IDF-15060
|
// TODO: remove warning after IDF-15060
|
||||||
if (port_speed == USB_SPEED_FULL && pipe_config->dev_speed == USB_SPEED_LOW) {
|
if (port_speed == USB_SPEED_FULL && pipe_config->dev_speed == USB_SPEED_LOW) {
|
||||||
|
Reference in New Issue
Block a user