4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-06 21:44:34 +08:00

fix usbhost issue by #4378

This commit is contained in:
guozhanxin 2022-01-26 11:00:16 +08:00 committed by guo
parent 0e30fac069
commit 2f6f9da5e3
5 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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)