Skip to content

Commit ca58556

Browse files
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
2 parents bfca55b + 92ece05 commit ca58556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/usb/hcd_dwc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,7 @@ static void pipe_set_ep_char(const hcd_pipe_config_t *pipe_config, usb_transfer_
16231623
ep_char->mps = USB_EP_DESC_GET_MPS(pipe_config->ep_desc);
16241624
}
16251625
ep_char->dev_addr = pipe_config->dev_addr;
1626+
ep_char->ls_via_fs_hub = 0;
16261627
if (pipe_idx > 0) {
16271628
// TODO: remove warning after IDF-15060
16281629
if (port_speed == USB_SPEED_FULL && pipe_config->dev_speed == USB_SPEED_LOW) {

0 commit comments

Comments
 (0)