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/class/msc_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/class') diff --git a/tinyusb/class/msc_host.c b/tinyusb/class/msc_host.c index f4859c1eb..00186ddd9 100644 --- a/tinyusb/class/msc_host.c +++ b/tinyusb/class/msc_host.c @@ -407,7 +407,7 @@ void msch_isr(pipe_handle_t pipe_hdl, tusb_event_t event, uint32_t xferred_bytes tuh_msc_isr(pipe_hdl.dev_addr, event, xferred_bytes); }else { // still initializing under open subtask - ASSERT( TUSB_ERROR_NONE == osal_semaphore_post(msch_sem_hdl), VOID_RETURN ); + osal_semaphore_post(msch_sem_hdl); } } } -- cgit v1.3.1