summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-02-26 01:00:07 +0700
committerGitHub <[email protected]>2022-02-26 01:00:07 +0700
commit5b7a01ba79f7a048ddea3b5dedf187746cd21225 (patch)
treef2ae941108ea7c3c610c92de4fe95431be149176 /src/tusb.h
parent13a4582ce25cd47e346f317c9eb412af7a2c17a2 (diff)
parent1482a415240171b7ff2bd2ee0f123635dd15f9a4 (diff)
Merge pull request #1350 from hathach/enhance-multipl-ports
Enhance rhports management
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 0d29e106c..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
@@ -61,7 +61,7 @@
#endif
//------------- DEVICE -------------//
-#if TUSB_OPT_DEVICE_ENABLED
+#if CFG_TUD_ENABLED
#include "device/usbd.h"
#if CFG_TUD_HID