summaryrefslogtreecommitdiff
path: root/tests/test/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-04 16:07:42 +0700
committerhathach <[email protected]>2013-02-04 16:07:42 +0700
commitd71e244dffc15cd3fbabbe6e710a7a20ea09c413 (patch)
treecec86a2520fbd271094f67cc86d2dd594844d2ba /tests/test/host
parent0a13e37ba22c195b685cbcb61e51500f038a38c4 (diff)
add TUSB_CFG_HOST_ENUM_BUFFER_SIZE
add enum buffer getting serious with osal_freeRTOS
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, );