提交 2f6f9da5 编写于 作者: G guozhanxin 提交者: guo

fix usbhost issue by #4378

上级 0e30fac0
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册