summaryrefslogtreecommitdiff
path: root/examples/device/midi_test/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-06 22:41:04 +0700
committerhathach <[email protected]>2022-06-06 22:41:04 +0700
commit9794a2b865df81e667b464481bb9b1c70587e64b (patch)
tree1efc9a14f8077844357e69e306bd2796d090caf0 /examples/device/midi_test/src/main.c
parentf4c80dd218240d934a28cb21d8ddd6a0e3a33fe5 (diff)
more example update
Diffstat (limited to 'examples/device/midi_test/src/main.c')
-rw-r--r--examples/device/midi_test/src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/midi_test/src/main.c b/examples/device/midi_test/src/main.c
index 193748477..b47d1af76 100644
--- a/examples/device/midi_test/src/main.c
+++ b/examples/device/midi_test/src/main.c
@@ -62,7 +62,8 @@ int main(void)
{
board_init();
- tusb_init();
+ // init device stack on configured roothub port
+ tud_init(BOARD_TUD_RHPORT);
while (1)
{