summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-12 20:04:19 +0700
committerhathach <[email protected]>2021-05-18 12:58:24 +0700
commita5cd81a2266541c14dfeb2617b2a826296aab688 (patch)
treea7d6979e04498c6ed066822bc2d62f657a076c0c /src/tusb.h
parentbe165a67134d08f7c32386de041f1a2665e696be (diff)
correct hid host mount/unmount callback
rename HOST_CLASS_HID to CFG_TUH_HID
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 cc82c440d..1678ef5d8 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -42,7 +42,7 @@
#if TUSB_OPT_HOST_ENABLED
#include "host/usbh.h"
- #if HOST_CLASS_HID
+ #if CFG_TUH_HID
#include "class/hid/hid_host.h"
#endif