summaryrefslogtreecommitdiff
path: root/examples/host/msc_file_explorer/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/msc_file_explorer/src/main.c')
-rw-r--r--examples/host/msc_file_explorer/src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/host/msc_file_explorer/src/main.c b/examples/host/msc_file_explorer/src/main.c
index 7b1c2ef27..73f3e9eb5 100644
--- a/examples/host/msc_file_explorer/src/main.c
+++ b/examples/host/msc_file_explorer/src/main.c
@@ -59,7 +59,7 @@
#include <stdio.h>
#include <string.h>
-#include "bsp/board.h"
+#include "bsp/board_api.h"
#include "tusb.h"
//--------------------------------------------------------------------+
@@ -80,6 +80,11 @@ int main(void)
// init host stack on configured roothub port
tuh_init(BOARD_TUH_RHPORT);
+
+ if (board_init_after_tusb) {
+ board_init_after_tusb();
+ }
+
msc_app_init();
while (1)