added all assert check to osal_queue_send and osal_semaphore_post
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user