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/device | |
| parent | 6804fee0fa571907f9311cce4f5e65aaa569dd1a (diff) | |
added all assert check to osal_queue_send and osal_semaphore_post
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index 6200113b6..61a9ab636 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -431,7 +431,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
{
- osal_semaphore_post( usbd_control_xfer_sem_hdl );
+ ASSERT( TUSB_ERROR_NONE == osal_semaphore_post( usbd_control_xfer_sem_hdl ), VOID_RETURN);
}else
{
usbd_task_event_t task_event =
|
