summaryrefslogtreecommitdiff
path: root/tinyusb/host
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/host
parent329fdc026c4536b218438577c90491bc0b69fff8 (diff)
more osal clean up
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/usbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c
index 8ab25a19a..e1fb320bd 100644
--- a/tinyusb/host/usbh.c
+++ b/tinyusb/host/usbh.c
@@ -253,7 +253,7 @@ void usbh_xfer_isr(pipe_handle_t pipe_hdl, uint8_t class_code, tusb_event_t even
{
usbh_devices[ pipe_hdl.dev_addr ].control.pipe_status = event;
// usbh_devices[ pipe_hdl.dev_addr ].control.xferred_bytes = xferred_bytes; not yet neccessary
- ASSERT( TUSB_ERROR_NONE == osal_semaphore_post( usbh_devices[ pipe_hdl.dev_addr ].control.sem_hdl ), VOID_RETURN);
+ osal_semaphore_post( usbh_devices[ pipe_hdl.dev_addr ].control.sem_hdl );
}else if (usbh_class_drivers[class_index].isr)
{
usbh_class_drivers[class_index].isr(pipe_hdl, event, xferred_bytes);