summaryrefslogtreecommitdiff
path: root/tinyusb/device
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 /tinyusb/device
parent329fdc026c4536b218438577c90491bc0b69fff8 (diff)
more osal clean up
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c
index 46437e36f..bbe8290e1 100644
--- a/tinyusb/device/usbd.c
+++ b/tinyusb/device/usbd.c
@@ -441,7 +441,7 @@ void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xfer
{
if (edpt_hdl.class_code == 0 ) // Control Transfer
{
- ASSERT( TUSB_ERROR_NONE == osal_semaphore_post( usbd_control_xfer_sem_hdl ), VOID_RETURN);
+ osal_semaphore_post( usbd_control_xfer_sem_hdl );
}else
{
usbd_task_event_t task_event =