diff options
| author | hathach <[email protected]> | 2018-03-01 11:42:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 11:42:13 +0700 |
| commit | 40935fc01ca33b6123c1626f930faf9b48e0b2b0 (patch) | |
| tree | be38b953e522cca805a51f6962d4916b49f51d80 /tinyusb/class | |
| parent | 329fdc026c4536b218438577c90491bc0b69fff8 (diff) | |
more osal clean up
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/msc_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
}
}
|
