diff --git a/esp-hal/src/rtc_cntl/mod.rs b/esp-hal/src/rtc_cntl/mod.rs index ecfc08fed13..b9c36d422e1 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> {}