diff options
| author | hathach <[email protected]> | 2021-02-22 22:32:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-02-22 22:32:56 +0700 |
| commit | 1e07fc024c91453cd71d357698b05d40eb571431 (patch) | |
| tree | 369803ea821562334096391fc24640d5d966bcb4 /src/host/ehci | |
| parent | 8a2e4c79fd6a5b7927ae07bececc30ca79d9edf2 (diff) | |
add rhport to hcd_init()
Diffstat (limited to 'src/host/ehci')
| -rw-r--r-- | src/host/ehci/ehci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/ehci/ehci.c b/src/host/ehci/ehci.c index f3a5cf9cd..b5f872c81 100644 --- a/src/host/ehci/ehci.c +++ b/src/host/ehci/ehci.c @@ -105,10 +105,10 @@ static bool ehci_init (uint8_t rhport); //--------------------------------------------------------------------+ // HCD API //--------------------------------------------------------------------+ -bool hcd_init(void) +bool hcd_init(uint8_t rhport) { tu_memclr(&ehci_data, sizeof(ehci_data_t)); - return ehci_init(TUH_OPT_RHPORT); + return ehci_init(rhport); } uint32_t hcd_uframe_number(uint8_t rhport) |
