summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-04-23 16:03:40 +0700
committerhathach <[email protected]>2025-04-23 16:03:40 +0700
commita2da575793a14fdfc5137a02843af0fd8f8b772a (patch)
treeab9d028d20f8a709eb813d1538671b335ca1ddad /src/host/hcd.h
parent741cb3cf029e37682634eeb355c20420c0816c8d (diff)
rename and expose tuh_bus_info_get() to application
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 1f2704a10..d3551bf5b 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -90,13 +90,6 @@ typedef struct {
};
} hcd_event_t;
-typedef struct {
- uint8_t rhport;
- uint8_t hub_addr;
- uint8_t hub_port;
- uint8_t speed;
-} tuh_bus_info_t;
-
//--------------------------------------------------------------------+
// Memory API
//--------------------------------------------------------------------+
@@ -186,9 +179,6 @@ bool hcd_edpt_clear_stall(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr);
// USBH implemented API
//--------------------------------------------------------------------+
-// Get device port information
-extern bool hcd_bus_info_get(uint8_t daddr, tuh_bus_info_t* bus_info);
-
// Called by HCD to notify stack
extern void hcd_event_handler(hcd_event_t const* event, bool in_isr);