From 754d8aa5853e78befef715e8628b4fcc0296b775 Mon Sep 17 00:00:00 2001 From: dimpolo <33688001+dimpolo@users.noreply.github.com> Date: Mon, 7 Oct 2024 18:19:24 +0200 Subject: [PATCH] Fix typo (#2292) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sorry 😅 --- esp-hal/src/rtc_cntl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-hal/src/rtc_cntl/mod.rs b/esp-hal/src/rtc_cntl/mod.rs index ecfc08fed..b9c36d422 100644 --- a/esp-hal/src/rtc_cntl/mod.rs +++ b/esp-hal/src/rtc_cntl/mod.rs @@ -409,7 +409,7 @@ impl<'d> Rtc<'d> { let rtc_cntl = unsafe { &*LP_AON::ptr() }; rtc_cntl .store4() - .modify(|r, w| unsafe { w.bits(r.bits() & 1) }); + .modify(|r, w| unsafe { w.bits(r.bits() | 1) }); } } impl<'d> crate::private::Sealed for Rtc<'d> {}