summaryrefslogtreecommitdiff
path: root/demos/device/src
diff options
context:
space:
mode:
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: