diff --git a/port/ehci/usb_ehci.h b/port/ehci/usb_ehci.h index cf25ce30..c2c37b93 100644 --- a/port/ehci/usb_ehci.h +++ b/port/ehci/usb_ehci.h @@ -872,7 +872,7 @@ struct ehci_hcor_s uint32_t ctrldssegment; /* 0x10: 4G Segment Selector */ uint32_t periodiclistbase; /* 0x14: Frame List Base Address */ uint32_t asynclistaddr; /* 0x18: Next Asynchronous List Address */ -#ifdef CONFIG_USB_ECHI_HCOR_RESERVED +#ifndef CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE uint32_t reserved[9]; #endif uint32_t configflag; /* 0x40: Configured Flag Register */ diff --git a/usb_config.h b/usb_config.h index 07cec261..6a1fc714 100644 --- a/usb_config.h +++ b/usb_config.h @@ -54,7 +54,7 @@ #define CONFIG_USB_EHCI_QH_NUM (10) #define CONFIG_USB_EHCI_QTD_NUM (10) // #define CONFIG_USB_EHCI_INFO_ENABLE -// #define CONFIG_USB_ECHI_HCOR_RESERVED +// #define CONFIG_USB_ECHI_HCOR_RESERVED_DISABLE // #define CONFIG_USB_EHCI_CONFIGFLAG #endif \ No newline at end of file