summaryrefslogtreecommitdiff
path: root/examples/device/hid_boot_interface/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/hid_boot_interface/src/main.c')
-rw-r--r--examples/device/hid_boot_interface/src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/hid_boot_interface/src/main.c b/examples/device/hid_boot_interface/src/main.c
index e5e2f6856..21cdb383d 100644
--- a/examples/device/hid_boot_interface/src/main.c
+++ b/examples/device/hid_boot_interface/src/main.c
@@ -55,7 +55,9 @@ void hid_task(void);
int main(void)
{
board_init();
- tusb_init();
+
+ // init device stack on configured roothub port
+ tud_init(BOARD_TUD_RHPORT);
while (1)
{