summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-02-23 21:49:11 +0700
committerhathach <[email protected]>2022-02-25 18:35:21 +0700
commit31aa077cb0b345464548b9cb2e2913227348a969 (patch)
treefd138a0d98321e3591cd70a7960ce4468910e2ba /src/tusb.h
parentd10326cb4e0f48a05bc39c6f51b7b0fb29427cc9 (diff)
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 2ffc1f681..549f00b43 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -39,7 +39,7 @@
#include "common/tusb_fifo.h"
//------------- HOST -------------//
-#if TUSB_OPT_HOST_ENABLED
+#if CFG_TUH_ENABLED
#include "host/usbh.h"
#if CFG_TUH_HID