summaryrefslogtreecommitdiff
path: root/src/tusb.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 13:57:07 +0700
committerhathach <[email protected]>2020-09-05 13:57:07 +0700
commit4d57b4ea336d0ba89b97b388aa02f15c2d947a2a (patch)
tree7161ba91c5a499a0cc2e6bc7a6c3b8052fcc93f1 /src/tusb.c
parent10d5dac9137adfd6c14d96e1079f08447eacd9d8 (diff)
clean up
Diffstat (limited to 'src/tusb.c')
-rw-r--r--src/tusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tusb.c b/src/tusb.c
index 1bc134dba..ae1bc47e3 100644
--- a/src/tusb.c
+++ b/src/tusb.c
@@ -43,7 +43,7 @@ bool tusb_init(void)
if (_initialized) return true;
#if TUSB_OPT_HOST_ENABLED
- TU_ASSERT( usbh_init() ); // init host stack
+ TU_ASSERT( tuh_init() ); // init host stack
#endif
#if TUSB_OPT_DEVICE_ENABLED