From 153ccf570b542c6b5d06a369d9d6399e36b97308 Mon Sep 17 00:00:00 2001 From: Kizarm Date: Sat, 11 May 2024 17:20:20 +0200 Subject: [PATCH] repair header --- V203/ch32v203/CH32V20xxx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/V203/ch32v203/CH32V20xxx.h b/V203/ch32v203/CH32V20xxx.h index 424a4bc..ea4eccc 100644 --- a/V203/ch32v203/CH32V20xxx.h +++ b/V203/ch32v203/CH32V20xxx.h @@ -8958,6 +8958,7 @@ struct USART1_Type { /*!< Universal synchronous asynchronous receiver tran } B; __IO uint32_t R; explicit STATR_DEF () noexcept { R = 0x000000c0u; } + explicit STATR_DEF (volatile STATR_DEF & o) noexcept { R = o.R; }; template void setbit (F f) volatile { STATR_DEF r; R = f (r);