Skip to content

Commit

Permalink
Fix typo (#2292)
Browse files Browse the repository at this point in the history
Sorry 😅
  • Loading branch information
dimpolo authored Oct 7, 2024
1 parent af3f892 commit 754d8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/rtc_cntl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {}
Expand Down

0 comments on commit 754d8aa

Please sign in to comment.