summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-02-25 23:04:39 +0700
committerhathach <[email protected]>2022-02-25 23:05:15 +0700
commit0997589c45a7c4dd96da0d9bce37f771520e34c6 (patch)
treeca577df28ae2c52df764263322cffd4cc72f75e6 /src/common
parent89115253da3ef55d59367977b8103a5e321e56aa (diff)
more symbol rename
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu_attr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_mcu_attr.h b/src/common/tusb_mcu_attr.h
index e3393ad04..0341dd1bf 100644
--- a/src/common/tusb_mcu_attr.h
+++ b/src/common/tusb_mcu_attr.h
@@ -27,7 +27,7 @@
#ifndef TUSB_MCU_ATTR_H_
#define TUSB_MCU_ATTR_H_
-/* Attribute includes
+/* USB Controller Attributes for Device, Host or MCU (both)
* - ENDPOINT_MAX: max (logical) number of endpoint
* - ENDPOINT_EXCLUSIVE_NUMBER: endpoint number with different direction IN and OUT aren't allowed,
* e.g EP1 OUT & EP1 IN cannot exist together
@@ -45,7 +45,7 @@
#elif TU_CHECK_MCU(OPT_MCU_LPC18XX, OPT_MCU_LPC43XX)
// TODO USB0 has 6, USB1 has 4
- #define DCD_ATTR_CONTROLLER_CHIPIDEA_HS
+ #define MCU_ATTR_CONTROLLER_CHIPIDEA_HS
#define DCD_ATTR_ENDPOINT_MAX 6
#define DCD_ATTR_RHPORT_HIGHSPEED 0x01 // Port0 HS, Port1 FS
@@ -63,7 +63,7 @@
#define DCD_ATTR_ENDPOINT_MAX 6
#elif TU_CHECK_MCU(OPT_MCU_MIMXRT10XX)
- #define DCD_ATTR_CONTROLLER_CHIPIDEA_HS
+ #define MCU_ATTR_CONTROLLER_CHIPIDEA_HS
#define DCD_ATTR_ENDPOINT_MAX 8
#define DCD_ATTR_RHPORT_HIGHSPEED 0x03 // Port0 HS, Port1 HS