add usbh_hcd to hold common structure/typedef for usbh and hcd
This commit is contained in:
@@ -105,7 +105,7 @@ void usbh_enumeration_task(void)
|
||||
.wLength = 8
|
||||
};
|
||||
device_addr0.speed = hcd_port_speed(device_addr0.enum_entry.core_id);
|
||||
// pipe_handle_t pipe_addr0 = hcd_pipe_addr0_open(&device_addr0);
|
||||
pipe_handle_t pipe_addr0 = hcd_pipe_addr0_open(&device_addr0);
|
||||
|
||||
// hcd_pipe_control_xfer(pipe_addr0, &request_dev_desc)
|
||||
}else // device connect via a hub
|
||||
|
||||
Reference in New Issue
Block a user