summaryrefslogtreecommitdiff
path: root/demos/host/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/host/src
parent329fdc026c4536b218438577c90491bc0b69fff8 (diff)
more osal clean up
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/cdc_serial_host_app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/host/src/cdc_serial_host_app.c b/demos/host/src/cdc_serial_host_app.c
index dd7d1373c..4c31eb442 100644
--- a/demos/host/src/cdc_serial_host_app.c
+++ b/demos/host/src/cdc_serial_host_app.c
@@ -86,7 +86,7 @@ void tuh_cdc_xfer_isr(uint8_t dev_addr, tusb_event_t event, cdc_pipeid_t pipe_id
{
case TUSB_EVENT_XFER_COMPLETE:
received_bytes = xferred_bytes;
- (void) osal_semaphore_post(sem_hdl); // notify main task
+ osal_semaphore_post(sem_hdl); // notify main task
break;
case TUSB_EVENT_XFER_ERROR: