summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-08 21:05:06 +0700
committerhathach <[email protected]>2023-03-08 21:05:06 +0700
commit05e0205ad0f2985909964174987088323724c5b8 (patch)
treea24a1ee33e8350ff9cd3bec08adc8c04ea30a811 /examples/host/hid_controller/src/main.c
parentea81d22f184fa8fd6c46c35c8be86e47996b46c8 (diff)
parentbe66f5f57f435ef2d00b3e23f6bd850468d14942 (diff)
Merge branch 'master' into renesas-ra
Diffstat (limited to 'examples/host/hid_controller/src/main.c')
-rw-r--r--examples/host/hid_controller/src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/host/hid_controller/src/main.c b/examples/host/hid_controller/src/main.c
index b9b37a4d2..299a3ff10 100644
--- a/examples/host/hid_controller/src/main.c
+++ b/examples/host/hid_controller/src/main.c
@@ -49,9 +49,10 @@ int main(void)
board_init();
printf("TinyUSB Host HID Controller Example\r\n");
- printf("Note: Events only displayed for explictly supported controllers\r\n");
+ printf("Note: Events only displayed for explicit supported controllers\r\n");
- tusb_init();
+ // init host stack on configured roothub port
+ tuh_init(BOARD_TUH_RHPORT);
while (1)
{