diff options
| author | guozhanxin <[email protected]> | 2022-01-26 11:00:16 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2022-01-26 11:39:39 +0800 |
| commit | 2f6f9da5e3fd581f74ed44e233c0df3fd247b63e (patch) | |
| tree | 843a9cf318987f38cccca2a914de7e5f163a28d8 /bsp | |
| parent | 0e30fac0696d8e1df640303fcd2f3d903906a5ee (diff) | |
fix usbhost issue by #4378
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c | 2 | ||||
| -rw-r--r-- | bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c b/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c index 964bb7ba05..fe5895dc9d 100644 --- a/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c +++ b/bsp/nuvoton/libraries/m2354/rtt_port/drv_usbhost.c @@ -866,7 +866,7 @@ int nu_usbh_register(void) RT_ASSERT(res == RT_EOK); /*initialize the usb host function */ - res = rt_usb_host_init(); + res = rt_usb_host_init("usbh"); RT_ASSERT(res == RT_EOK); #if defined(RT_USING_PM) diff --git a/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c b/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c index a5660ba328..85a1af96be 100644 --- a/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c +++ b/bsp/nuvoton/libraries/n9h30/rtt_port/drv_usbhost.c @@ -942,7 +942,7 @@ int nu_usbh_register(void) /*initialize the usb host function */ - res = rt_usb_host_init(); + res = rt_usb_host_init("usbh"); RT_ASSERT(res == RT_EOK); #if defined(RT_USING_PM) |
