From a94932be0281926211bdb7a4de1f71a8e34cd745 Mon Sep 17 00:00:00 2001 From: Nikita Strygin Date: Sun, 26 Dec 2021 18:29:41 +0300 Subject: [PATCH] Mark clear_interrupt_flag as unsafe --- embassy-stm32/src/usart/mod.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/embassy-stm32/src/usart/mod.rs b/embassy-stm32/src/usart/mod.rs index a93bd2da..3567746c 100644 --- a/embassy-stm32/src/usart/mod.rs +++ b/embassy-stm32/src/usart/mod.rs @@ -483,16 +483,14 @@ fn sr(r: crate::pac::usart::Usart) -> crate::pac::common::Reg crate::pac::common::Reg r.icr().write(|w| {