diff options
| author | hathach <[email protected]> | 2023-07-21 19:06:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-07-21 19:06:36 +0700 |
| commit | c122e9df73331fa60d1713c7cc4cf46251b0cd76 (patch) | |
| tree | 00f4a6245e6357672cb42ab4ba0cf33c2892418e /src/host/usbh.h | |
| parent | 14c98dd863a9cab55fc2981fb826f63eceed4b2d (diff) | |
implement hcd_edpt_abort_xfer() for EHCI, also move thing around a bit
Diffstat (limited to 'src/host/usbh.h')
| -rw-r--r-- | src/host/usbh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h index d765f6744..0d56f40c9 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -176,6 +176,7 @@ bool tuh_edpt_xfer(tuh_xfer_t* xfer); bool tuh_edpt_open(uint8_t daddr, tusb_desc_endpoint_t const * desc_ep); // Abort a queued transfer. Note: it can only abort transfer that has not been started +// Return true if a queued transfer is aborted, false if there is no transfer to abort bool tuh_edpt_abort_xfer(uint8_t daddr, uint8_t ep_addr); // Set Configuration (control transfer) |
