diff options
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 =
|
