summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/cdc_msc_hid/src')
-rw-r--r--examples/host/cdc_msc_hid/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c
index c2685e847..3ed5883a2 100644
--- a/examples/host/cdc_msc_hid/src/main.c
+++ b/examples/host/cdc_msc_hid/src/main.c
@@ -87,6 +87,8 @@ int main(void) {
#ifndef ESP_PLATFORM
vTaskStartScheduler();
#endif
+
+ return 0;
#else
// init host stack on configured roothub port
tusb_rhport_init_t host_init = {
@@ -112,8 +114,6 @@ int main(void) {
hid_app_task();
}
#endif
-
- return 0;
}
#ifdef ESP_PLATFORM