From fb6f62ead39c0755491479478b063f8f6655a57f Mon Sep 17 00:00:00 2001 From: cnlohr <lohr85@gmail.com> Date: Tue, 27 Feb 2024 04:45:17 -0500 Subject: [PATCH] Make assembly guard guard more of the header. --- ch32v003fun/ch32v003fun.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ch32v003fun/ch32v003fun.h b/ch32v003fun/ch32v003fun.h index ebc919d..917b04b 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__ -- GitLab