summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/hcd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/host/hcd.c b/tinyusb/host/hcd.c
index 77175d573..481dc91ae 100644
--- a/tinyusb/host/hcd.c
+++ b/tinyusb/host/hcd.c
@@ -37,9 +37,13 @@
#include "hcd.h"
+#ifdef CFG_TUSB_HOST
+
TUSB_Error_t hcd_init()
{
return tERROR_NONE;
}
+
+#endif