diff options
| author | hathach <[email protected]> | 2024-10-11 17:53:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-10-11 17:53:39 +0700 |
| commit | 1587d48e89cbaa8d0d1c870809bc40c3c8d1056f (patch) | |
| tree | a01565a3ddfef6225497dc4e83ffc0fa93830ce2 /src/host/usbh.c | |
| parent | f3b7d7515e9cae834013dc9ee3a67d87111090eb (diff) | |
hcd_init() take init struct
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 39bc8d63a..f9e6c4e97 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -405,7 +405,7 @@ bool tuh_rhport_init(const tusb_rhport_init_t* rh_init) { // Init host controller _usbh_controller = rh_init->rhport; - TU_ASSERT(hcd_init(rh_init->rhport)); + TU_ASSERT(hcd_init(rh_init)); hcd_int_enable(rh_init->rhport); return true; |
