summaryrefslogtreecommitdiff
path: root/src/portable/ohci
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-03-26 22:11:44 +0700
committerhathach <[email protected]>2025-03-26 22:11:44 +0700
commite511d00f34b2832ae32ad0b2418a0878c7c4e7d6 (patch)
tree312bb3b29926d84d52ded9e11458ccb9b03624a3 /src/portable/ohci
parent901ce2ad93b39c08e8e6b7e5b3f4dbd0b9df879e (diff)
added hcd_edpt_close() stub for other ports
Diffstat (limited to 'src/portable/ohci')
-rw-r--r--src/portable/ohci/ohci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/portable/ohci/ohci.c b/src/portable/ohci/ohci.c
index ce35eab70..672ad0443 100644
--- a/src/portable/ohci/ohci.c
+++ b/src/portable/ohci/ohci.c
@@ -451,7 +451,6 @@ static void td_insert_to_ed(ohci_ed_t* p_ed, ohci_gtd_t * p_gtd)
//--------------------------------------------------------------------+
// Endpoint API
//--------------------------------------------------------------------+
-
bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const * ep_desc)
{
(void) rhport;
@@ -486,6 +485,11 @@ bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const
return true;
}
+bool hcd_edpt_close(uint8_t rhport, uint8_t daddr, uint8_t ep_addr) {
+ (void) rhport; (void) daddr; (void) ep_addr;
+ return false; // TODO not implemented yet
+}
+
bool hcd_setup_send(uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet[8])
{
(void) rhport;