summaryrefslogtreecommitdiff
path: root/tests/test/host
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/host')
-rw-r--r--tests/test/host/test_usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test/host/test_usbh.c b/tests/test/host/test_usbh.c
index 7c1aa36fa..8f4d84be4 100644
--- a/tests/test/host/test_usbh.c
+++ b/tests/test/host/test_usbh.c
@@ -182,7 +182,7 @@ void test_enum_task_connect(void)
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_addr0_open_IgnoreAndReturn(pipe_addr0);
+ hcd_addr0_open_IgnoreAndReturn(TUSB_ERROR_NONE);
hcd_pipe_control_xfer_StubWithCallback(pipe_control_stub);
// hcd_pipe_control_open_ExpectAnd(1, );