diff options
| author | hathach <[email protected]> | 2014-04-24 23:57:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-24 23:57:21 +0700 |
| commit | dbf276ad6f9852f8da7dd9bc8b9e1a74ee17b267 (patch) | |
| tree | 0f83836c0d7fceb35b1b742856f9512e5b504db2 /demos/device/src | |
| parent | 6804fee0fa571907f9311cce4f5e65aaa569dd1a (diff) | |
added all assert check to osal_queue_send and osal_semaphore_post
Diffstat (limited to 'demos/device/src')
| -rw-r--r-- | demos/device/src/cdc_device_app.c | 2 |
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 f7ef8e58c..3f23d51cd 100644 --- a/demos/device/src/cdc_device_app.c +++ b/demos/device/src/cdc_device_app.c @@ -91,7 +91,7 @@ void tusbd_cdc_xfer_cb(uint8_t coreid, tusb_event_t event, cdc_pipeid_t pipe_id, {
fifo_write(&fifo_serial, serial_rx_buffer+i);
}
- osal_semaphore_post(sem_hdl); // notify main task
+ (void) osal_semaphore_post(sem_hdl); // notify main task
break;
case TUSB_EVENT_XFER_ERROR:
|
