mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
fix(usb_host): Correctly initialize set pipe ep char
This commit is contained in:
@@ -1537,6 +1537,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