mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-06 21:34:36 +08:00
fix usbhost issue by #4378
This commit is contained in:
parent
0e30fac069
commit
2f6f9da5e3
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user