summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/cdc_msc_hid/src/main.c')
-rw-r--r--examples/host/cdc_msc_hid/src/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c
index 664cbf035..d26e41e8d 100644
--- a/examples/host/cdc_msc_hid/src/main.c
+++ b/examples/host/cdc_msc_hid/src/main.c
@@ -54,13 +54,8 @@ int main(void)
tuh_task();
led_blinking_task();
-#if CFG_TUH_CDC
cdc_task();
-#endif
-
-#if CFG_TUH_HID
hid_app_task();
-#endif
}
return 0;
@@ -69,7 +64,6 @@ int main(void)
//--------------------------------------------------------------------+
// USB CDC
//--------------------------------------------------------------------+
-#if CFG_TUH_CDC
CFG_TUSB_MEM_SECTION static char serial_in_buffer[64] = { 0 };
// invoked ISR context
@@ -90,8 +84,6 @@ void cdc_task(void)
}
-#endif
-
//--------------------------------------------------------------------+
// TinyUSB Callbacks
//--------------------------------------------------------------------+