diff --git a/ch32v003fun/ch32v003fun.h b/ch32v003fun/ch32v003fun.h index ebc919d880b08133e482ebbb717cf05d19dfa344..917b04b42ffbba420e1920593a1c14f63ad8a8f6 100644 --- a/ch32v003fun/ch32v003fun.h +++ b/ch32v003fun/ch32v003fun.h @@ -610,7 +610,6 @@ typedef struct uint16_t RESERVED1; __IO uint32_t CTLR; } CRC_TypeDef; -#endif #if defined(CH32V10x) || defined(CH32V30x) /* Digital to Analog Converter */ @@ -1604,9 +1603,12 @@ typedef struct __IO uint8_t LSI32K_CAL_OV_CNT; __IO uint8_t LSI32K_CAL_CTRL; } OSC_TypeDef; + #endif -#endif // #if defined(CH32V20x) || defined(CH32V30x) +#endif // #if defined(CH32V20x) || defined(CH32V30x) + +#endif /* Peripheral memory map */ #ifdef __ASSEMBLER__