summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-04 13:51:20 +0700
committerhathach <[email protected]>2013-02-04 13:51:20 +0700
commit94486f55ec3b24f720cabf1218e8eb291b8f620c (patch)
tree980c0e2fa5ce83cb76cd74bf1c271e7a3f96689c /tests
parenta5b29c5d333fc5fe3bcd01de145e130765ed1d48 (diff)
add usbh_hcd to hold common structure/typedef for usbh and hcd
Diffstat (limited to 'tests')
-rw-r--r--tests/test/host/test_usbd_host.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test/host/test_usbd_host.c b/tests/test/host/test_usbd_host.c
index 9143ef3f1..4d170804d 100644
--- a/tests/test/host/test_usbd_host.c
+++ b/tests/test/host/test_usbd_host.c
@@ -178,12 +178,10 @@ void test_enum_task_connect(void)
{
pipe_handle_t pipe_addr0 = 12;
-
-
osal_queue_receive_StubWithCallback(queue_recv_stub);
hcd_port_connect_status_ExpectAndReturn(enum_connect.core_id, true);
hcd_port_speed_ExpectAndReturn(enum_connect.core_id, TUSB_SPEED_FULL);
- hcd_pipe_addr0_open_ExpectAndReturn(enum_connect.core_id, TUSB_SPEED_FULL, 0, 0, pipe_addr0);
+ hcd_pipe_addr0_open_IgnoreAndReturn(pipe_addr0);
hcd_pipe_control_xfer_StubWithCallback(pipe_control_stub);
// hcd_pipe_control_open_ExpectAnd(1, );