From 40935fc01ca33b6123c1626f930faf9b48e0b2b0 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 1 Mar 2018 11:42:13 +0700 Subject: more osal clean up --- tinyusb/device/usbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/device/usbd.c') 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 = -- cgit v1.3.1