diff options
| author | hathach <[email protected]> | 2014-04-24 23:57:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-24 23:57:21 +0700 |
| commit | dbf276ad6f9852f8da7dd9bc8b9e1a74ee17b267 (patch) | |
| tree | 0f83836c0d7fceb35b1b742856f9512e5b504db2 /tinyusb/class | |
| parent | 6804fee0fa571907f9311cce4f5e65aaa569dd1a (diff) | |
added all assert check to osal_queue_send and osal_semaphore_post
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 e3eaf7993..9dc86e939 100644 --- a/tinyusb/class/msc_host.c +++ b/tinyusb/class/msc_host.c @@ -408,7 +408,7 @@ void msch_isr(pipe_handle_t pipe_hdl, tusb_event_t event, uint32_t xferred_bytes tusbh_msc_isr(pipe_hdl.dev_addr, event, xferred_bytes);
}else
{ // still initializing under open subtask
- osal_semaphore_post(msch_sem_hdl);
+ ASSERT( TUSB_ERROR_NONE == osal_semaphore_post(msch_sem_hdl), VOID_RETURN );
}
}
}
|
