summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakimisu <[email protected]>2023-08-25 21:37:14 +0800
committersakimisu <[email protected]>2023-08-25 21:37:14 +0800
commitc5fc9f338e5f332f5027747f7248d508c67782fc (patch)
tree74471aa76550a99187083c159af7faf43059e1d0
parent4d61e5e053f09967d039e97180d83d1f92ea32c7 (diff)
fix macro spelling
-rw-r--r--cherryusb_config_template.h2
-rw-r--r--port/ehci/usb_hc_ehci.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h
index e7a320ce..2228e2a0 100644
--- a/cherryusb_config_template.h
+++ b/cherryusb_config_template.h
@@ -153,7 +153,7 @@
#define CONFIG_USB_EHCI_HCOR_BASE (0x20072000 + 0x10)
#define CONFIG_USB_EHCI_FRAME_LIST_SIZE 1024
// #define CONFIG_USB_EHCI_INFO_ENABLE
-// #define CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE
+// #define CONFIG_USB_EHCI_HCOR_RESERVED_DISABLE
// #define CONFIG_USB_EHCI_CONFIGFLAG
// #define CONFIG_USB_EHCI_PORT_POWER
diff --git a/port/ehci/usb_hc_ehci.h b/port/ehci/usb_hc_ehci.h
index d240765f..15cada31 100644
--- a/port/ehci/usb_hc_ehci.h
+++ b/port/ehci/usb_hc_ehci.h
@@ -302,7 +302,7 @@ struct ehci_hcor {
uint32_t ctrldssegment; /* 0x10: 4G Segment Selector */
uint32_t periodiclistbase; /* 0x14: Frame List Base Address */
uint32_t asynclistaddr; /* 0x18: Next Asynchronous List Address */
-#ifndef CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE
+#ifndef CONFIG_USB_EHCI_HCOR_RESERVED_DISABLE
uint32_t reserved[9];
#endif
uint32_t configflag; /* 0x40: Configured Flag Register */