summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-04-03 18:11:33 +0700
committerhathach <[email protected]>2025-04-03 18:11:33 +0700
commit4787cd5f546eabad630fc5c22f37f67a076ac37e (patch)
treef0632cb93b46ef040346b316796b4368ae541d01 /src/host
parent8c1802e41d37c915334a19b859b24cb2a1b48ee5 (diff)
fix(hcd) hcd_edpt_open() return true if endpoint is already opened.
Diffstat (limited to 'src/host')
-rw-r--r--src/host/hcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index aa9e9cf3b..b20d96d54 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -163,6 +163,7 @@ void hcd_device_close(uint8_t rhport, uint8_t dev_addr);
//--------------------------------------------------------------------+
// Open an endpoint
+// return true if successfully opened or endpoint is currently opened
bool hcd_edpt_open(uint8_t rhport, uint8_t daddr, tusb_desc_endpoint_t const * ep_desc);
// Close an endpoint