summaryrefslogtreecommitdiff
path: root/demos/host/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/host/src/main.c')
-rw-r--r--demos/host/src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index ad7d2c8a5..2c925eb1c 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -28,8 +28,13 @@ int main(void)
tusb_init();
//------------- application task init -------------//
+#if TUSB_CFG_HOST_HID_KEYBOARD
keyboard_app_init();
+#endif
+
+#if TUSB_CFG_HOST_HID_MOUSE
mouse_app_init();
+#endif
while (1)
{