summaryrefslogtreecommitdiff
path: root/src/portable/mentor
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-07-21 12:52:26 +0700
committerhathach <[email protected]>2023-07-21 12:52:26 +0700
commit0da273ea79d7a1c08e3b58301a0b7d3a49c60d13 (patch)
tree946a305357c3106a294ff8fce86450132ba67c1d /src/portable/mentor
parent1cc7c5d0309bcc7c6930fba78bc461e5822e8024 (diff)
add stub hcd_edpt_abort_xfer() for all ports
Diffstat (limited to 'src/portable/mentor')
-rw-r--r--src/portable/mentor/musb/hcd_musb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portable/mentor/musb/hcd_musb.c b/src/portable/mentor/musb/hcd_musb.c
index 9eb2e005e..5be67a186 100644
--- a/src/portable/mentor/musb/hcd_musb.c
+++ b/src/portable/mentor/musb/hcd_musb.c
@@ -822,6 +822,14 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t *b
return ret;
}
+bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) {
+ (void) rhport;
+ (void) dev_addr;
+ (void) ep_addr;
+ // TODO not implemented yet
+ return false;
+}
+
// clear stall, data toggle is also reset to DATA0
bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr)
{