summaryrefslogtreecommitdiff
path: root/src/class/hid
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/class/hid
parentd10326cb4e0f48a05bc39c6f51b7b0fb29427cc9 (diff)
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index f19f1ba81..542ed5772 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -26,7 +26,7 @@
#include "tusb_option.h"
-#if (TUSB_OPT_HOST_ENABLED && CFG_TUH_HID)
+#if (CFG_TUH_ENABLED && CFG_TUH_HID)
#include "host/usbh.h"
#include "host/usbh_classdriver.h"