From dcbad9eebe49b074f7eae0574665aa90f62d5297 Mon Sep 17 00:00:00 2001 From: sakimisu <1203593632@qq.com> Date: Fri, 19 May 2023 15:32:07 +0800 Subject: comment musb reg struct --- port/musb/usb_musb_reg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/port/musb/usb_musb_reg.h b/port/musb/usb_musb_reg.h index 82225de8..3c799865 100644 --- a/port/musb/usb_musb_reg.h +++ b/port/musb/usb_musb_reg.h @@ -9,7 +9,7 @@ * @brief Register map for USB0 peripheral (USB0) */ #ifdef CONFIG_USB_MUSB_SUNXI - +#if 0 typedef __PACKED_STRUCT { /*!< USB0 Structure */ union { __IO uint8_t FIFO0_BYTE; /*!< USB FIFO Endpoint 0 */ @@ -146,9 +146,9 @@ typedef __PACKED_STRUCT { /*!< USB0 Structure __IO uint8_t RXHUBADDR0; __IO uint8_t RXHUBPORT0; } USB0_Type; - +#endif #else - +#if 0 typedef struct { /*!< USB0 Structure */ __IO uint8_t FADDR; /*!< USB Device Functional Address */ __IO uint8_t POWER; /*!< USB Power */ @@ -465,7 +465,7 @@ typedef struct { /*!< USB0 Structure __IO uint32_t PC; /*!< USB Peripheral Configuration */ __IO uint32_t CC; /*!< USB Clock Configuration */ } USB0_Type; - +#endif #endif // CONFIG_USB_MUSB_SUNXI //***************************************************************************** -- cgit v1.3.1