Skip to content

Commit 92ece05

Browse files
fix(usb_host): Correctly initialize set pipe ep char
1 parent 6dc71c2 commit 92ece05

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)