summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid_freertos/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/cdc_msc_hid_freertos/src/main.c')
-rw-r--r--examples/host/cdc_msc_hid_freertos/src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/host/cdc_msc_hid_freertos/src/main.c b/examples/host/cdc_msc_hid_freertos/src/main.c
index 0bcb355ec..d498c1b57 100644
--- a/examples/host/cdc_msc_hid_freertos/src/main.c
+++ b/examples/host/cdc_msc_hid_freertos/src/main.c
@@ -116,9 +116,7 @@ static void usb_host_task(void *param) {
vTaskSuspend(NULL);
}
- if (board_init_after_tusb) {
- board_init_after_tusb();
- }
+ board_init_after_tusb();
#if CFG_TUH_ENABLED && CFG_TUH_MAX3421
// FeatherWing MAX3421E use MAX3421E's GPIO0 for VBUS enable