summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-07 23:38:52 +0700
committerhathach <[email protected]>2018-12-07 23:38:52 +0700
commit607658d047a3c27a096b9f6a25ea0a76f3d8735d (patch)
tree3dba851636e65962ca00b092a9fd87f05db71589 /src/host/hcd.h
parente0199162637465b576b9f082404cf163c7cb1fef (diff)
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index db80994c0..387fbcf1c 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -79,7 +79,7 @@ typedef struct
} hcd_event_t;
-#if MODE_HOST_SUPPORTED
+#if TUSB_OPT_HOST_ENABLED
// Max number of endpoints per device
enum {
HCD_MAX_ENDPOINT = CFG_TUH_HUB + CFG_TUH_HID_KEYBOARD + CFG_TUH_HID_MOUSE + CFG_TUSB_HOST_HID_GENERIC +