summaryrefslogtreecommitdiff
path: root/src/host/usbh.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-10 14:53:03 +0700
committerhathach <[email protected]>2022-06-10 14:53:03 +0700
commit040ef0640df837a49e7f46c12fa7b00fe6a77bf6 (patch)
tree289e310e8bbe568efcc578ce162764f7db63bf3d /src/host/usbh.h
parent96fecedabe2218244a1a0d8f2629d00a23bfa632 (diff)
more dynamic controller for host
Diffstat (limited to 'src/host/usbh.h')
-rw-r--r--src/host/usbh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h
index 4c65da206..347c75b8c 100644
--- a/src/host/usbh.h
+++ b/src/host/usbh.h
@@ -95,10 +95,10 @@ TU_ATTR_WEAK void tuh_umount_cb(uint8_t daddr);
// Should be called before tuh_init()
// - cfg_id : configure ID (TBD)
// - cfg_param: configure data, structure depends on the ID
-bool tuh_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param);
+bool tuh_configure(uint8_t controller_id, uint32_t cfg_id, const void* cfg_param);
// Init host stack
-bool tuh_init(uint8_t rhport);
+bool tuh_init(uint8_t controller_id);
// Check if host stack is already initialized
bool tuh_inited(void);