From d71e244dffc15cd3fbabbe6e710a7a20ea09c413 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 4 Feb 2013 16:07:42 +0700 Subject: add TUSB_CFG_HOST_ENUM_BUFFER_SIZE add enum buffer getting serious with osal_freeRTOS --- tests/test/host/test_usbh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test/host') 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, ); -- cgit v1.3.1