continue clean up ehci

This commit is contained in:
hathach
2013-03-23 10:23:37 +07:00
parent 58b252b3f1
commit ae9b9ead7a
4 changed files with 39 additions and 40 deletions

View File

@@ -151,7 +151,7 @@ void test_bulk_xfer_hs_ping_out(void)
usbh_device_info_pool[dev_addr].speed = TUSB_SPEED_HIGH;
pipe_handle_t pipe_hdl = hcd_pipe_open(dev_addr, &desc_ept_bulk_out, TUSB_CLASS_MSC);
ehci_qhd_t *p_qhd = get_qhd_from_pipe_handle(pipe_hdl);
ehci_qhd_t *p_qhd = qhd_get_from_pipe_handle(pipe_hdl);
//------------- Code Under Test -------------//
hcd_pipe_xfer(pipe_hdl, xfer_data, sizeof(xfer_data), true);

View File

@@ -67,7 +67,7 @@ ehci_qhd_t* get_async_head(uint8_t hostid);
ehci_qhd_t* get_period_head(uint8_t hostid);
ehci_qhd_t* get_control_qhd(uint8_t dev_addr);
ehci_qtd_t* get_control_qtds(uint8_t dev_addr);
ehci_qhd_t* get_qhd_from_pipe_handle(pipe_handle_t pipe_hdl);
ehci_qhd_t* qhd_get_from_pipe_handle(pipe_handle_t pipe_hdl);
#ifdef __cplusplus
}