summaryrefslogtreecommitdiff
path: root/demos/device/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-01 11:42:13 +0700
committerhathach <[email protected]>2018-03-01 11:42:13 +0700
commit40935fc01ca33b6123c1626f930faf9b48e0b2b0 (patch)
treebe38b953e522cca805a51f6962d4916b49f51d80 /demos/device/src
parent329fdc026c4536b218438577c90491bc0b69fff8 (diff)
more osal 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 f07f703ad..427b9a159 100644
--- a/demos/device/src/cdc_device_app.c
+++ b/demos/device/src/cdc_device_app.c
@@ -88,7 +88,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);
}
- (void) osal_semaphore_post(sem_hdl); // notify main task
+ osal_semaphore_post(sem_hdl); // notify main task
break;
case TUSB_EVENT_XFER_ERROR: