diff options
| author | hathach <[email protected]> | 2018-03-01 12:20:35 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 12:20:35 +0700 |
| commit | 2806120400f4162516c4c9de030e7d0d5d5bc2c7 (patch) | |
| tree | 73afbdde4efd946eb44cd1a87d55104793e5cee5 /tinyusb | |
| parent | 7add7337babf0af8f4f2bbd1127e57dc0d580c1d (diff) | |
more clean up
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/device/usbd.c | 4 | ||||
| -rw-r--r-- | tinyusb/host/usbh.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index 0bc15221f..458b03b10 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -434,7 +434,7 @@ void usbd_setup_received_isr(uint8_t coreid, tusb_control_request_t * p_request) };
task_event.setup_received = (*p_request);
- VERIFY( osal_queue_send(usbd_queue_hdl, &task_event), );
+ osal_queue_send(usbd_queue_hdl, &task_event);
}
void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes)
@@ -454,7 +454,7 @@ void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xfer task_event.xfer_done.xferred_byte = xferred_bytes;
task_event.xfer_done.edpt_hdl = edpt_hdl;
- VERIFY( osal_queue_send(usbd_queue_hdl, &task_event), );
+ osal_queue_send(usbd_queue_hdl, &task_event);
}
}
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index e9750f1fa..b39dad3fe 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -272,7 +272,7 @@ void usbh_hub_port_plugged_isr(uint8_t hub_addr, uint8_t hub_port) .hub_port = hub_port
};
- ASSERT( TUSB_ERROR_NONE == osal_queue_send(enum_queue_hdl, &enum_entry), VOID_RETURN );
+ osal_queue_send(enum_queue_hdl, &enum_entry);
}
void usbh_hcd_rhport_plugged_isr(uint8_t hostid)
@@ -284,7 +284,7 @@ void usbh_hcd_rhport_plugged_isr(uint8_t hostid) .hub_port = 0
};
- ASSERT( TUSB_ERROR_NONE == osal_queue_send(enum_queue_hdl, &enum_entry), VOID_RETURN );
+ osal_queue_send(enum_queue_hdl, &enum_entry);
}
// a device unplugged on hostid, hub_addr, hub_port
@@ -336,7 +336,7 @@ void usbh_hcd_rhport_unplugged_isr(uint8_t hostid) .hub_port = 0
};
- ASSERT( TUSB_ERROR_NONE == osal_queue_send(enum_queue_hdl, &enum_entry), VOID_RETURN );
+ osal_queue_send(enum_queue_hdl, &enum_entry);
}
//--------------------------------------------------------------------+
|
