summaryrefslogtreecommitdiff
path: root/bsp/nuvoton
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-02-23 09:41:27 +0800
committerGitHub <[email protected]>2021-02-23 09:41:27 +0800
commitd9c3459e1108ab4111ead3b0c8d92cb0d8318bc9 (patch)
tree8bd579512f93660a0df73af473ec9a95eaee0a43 /bsp/nuvoton
parent6d3847b6bd3407172f7fdeb16d477260f7caaefa (diff)
parentb51c6339f0f16e5780482b32d020db4f18642e0f (diff)
Merge pull request #4295 from LeeChunHei/test_branch
添加imxrt的pulse encoder和usb host驅動
Diffstat (limited to 'bsp/nuvoton')
-rw-r--r--bsp/nuvoton/libraries/m480/rtt_port/drv_usbhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/nuvoton/libraries/m480/rtt_port/drv_usbhost.c b/bsp/nuvoton/libraries/m480/rtt_port/drv_usbhost.c
index be19dac9e5..92375cda19 100644
--- a/bsp/nuvoton/libraries/m480/rtt_port/drv_usbhost.c
+++ b/bsp/nuvoton/libraries/m480/rtt_port/drv_usbhost.c
@@ -844,7 +844,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)