summaryrefslogtreecommitdiff
path: root/demos/device/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-06 17:22:40 +0700
committerhathach <[email protected]>2018-03-06 17:22:40 +0700
commit3265f0b770bf83b0766c4b8bbbd48218fdedb00f (patch)
tree291de5ead3baae430d113da009777b71cc097c34 /demos/device/src
parente561f4f4c68ebad8bf7b35adaaa9907ffb7c5fe0 (diff)
clean up
Diffstat (limited to 'demos/device/src')
-rw-r--r--demos/device/src/cdc_device_app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/device/src/cdc_device_app.c b/demos/device/src/cdc_device_app.c
index b5420733d..425decc4b 100644
--- a/demos/device/src/cdc_device_app.c
+++ b/demos/device/src/cdc_device_app.c
@@ -114,7 +114,7 @@ void tud_cdc_xfer_cb(uint8_t coreid, tusb_event_t event, cdc_pipeid_t pipe_id, u
void cdc_serial_app_init(void)
{
sem_hdl = osal_semaphore_create(1, 0);
- ASSERT_PTR( sem_hdl, VOID_RETURN);
+ VERIFY(sem_hdl, );
osal_task_create(cdc_serial_app_task, "cdc", 128, NULL, CDC_SERIAL_APP_TASK_PRIO);
}