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/usbh.c | |
| parent | 8a2e4c79fd6a5b7927ae07bececc30ca79d9edf2 (diff) | |
add rhport to hcd_init()
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index f278f4d94..0bc6378b2 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -197,7 +197,7 @@ bool tuh_init(void) usbh_class_drivers[drv_id].init(); } - TU_ASSERT(hcd_init()); + TU_ASSERT(hcd_init(TUH_OPT_RHPORT)); hcd_int_enable(TUH_OPT_RHPORT); return true; |
