summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index eb53d2e80..80500f048 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -30,7 +30,6 @@
#include "common/tusb_common.h"
#include "osal/osal.h"
#include "common/tusb_fifo.h"
-#include "hcd_attr.h"
#ifdef __cplusplus
extern "C" {
@@ -82,7 +81,7 @@ typedef struct
} hcd_event_t;
-#if TUSB_OPT_HOST_ENABLED
+#if CFG_TUH_ENABLED
// Max number of endpoints per device
enum {
// TODO better computation