summaryrefslogtreecommitdiff
path: root/tests/test/test_osal_none.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-26 17:28:05 +0700
committerhathach <[email protected]>2013-02-26 17:28:05 +0700
commit49da21086004bd666564c5bd1bd2a0bb7938205d (patch)
treecb57d60704f8cb41b7450108ea12b3ec7cabcd7a /tests/test/test_osal_none.c
parentac744b0401b93bade7d71e38db9f911c9d213fde (diff)
add osal subtask support
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
Diffstat (limited to 'tests/test/test_osal_none.c')
-rw-r--r--tests/test/test_osal_none.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test/test_osal_none.c b/tests/test/test_osal_none.c
index 1d4b72a16..683e6d4cc 100644
--- a/tests/test/test_osal_none.c
+++ b/tests/test/test_osal_none.c
@@ -254,7 +254,7 @@ void sample_task_flow_control(void)
statements[2]++;
osal_semaphore_wait(sem_hdl, OSAL_TIMEOUT_NORMAL, &error);
- TASK_ASSERT_STATUS_HANDLER(error, flow_control_error_handler());
+ TASK_ASSERT_STATUS_WITH_HANDLER(error, flow_control_error_handler());
statements[3]++;
OSAL_TASK_LOOP_END