summaryrefslogtreecommitdiff
path: root/examples/host/msc_file_explorer
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/msc_file_explorer')
-rw-r--r--examples/host/msc_file_explorer/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/msc_file_explorer/src/main.c b/examples/host/msc_file_explorer/src/main.c
index f6b6810f5..3af079b0e 100644
--- a/examples/host/msc_file_explorer/src/main.c
+++ b/examples/host/msc_file_explorer/src/main.c
@@ -78,7 +78,7 @@ int main(void) {
printf("TinyUSB Host MassStorage Explorer Example\r\n");
// init host stack on configured roothub port
- tuh_init(BOARD_TUH_RHPORT);
+ tusb_init(BOARD_TUH_RHPORT, TUSB_ROLE_HOST);
if (board_init_after_tusb) {
board_init_after_tusb();