diff options
| author | James Munns <[email protected]> | 2025-11-14 19:03:26 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-11-14 19:03:26 +0100 |
| commit | 0bae6aa5aaab5d0f3a3e7e1ec83a0cee909de115 (patch) | |
| tree | 1740876a3af2f06bcc129b62e3a6e87f4472d5f3 /src/rtc.rs | |
| parent | 8cdccae3c6c4a805cf5003b1a859734c105d76e8 (diff) | |
| parent | 77b2c602a60e41c7c977003a6d40367ac285930e (diff) | |
Merge remote-tracking branch 'origin/main' into james/impl-clocks
Diffstat (limited to 'src/rtc.rs')
| -rw-r--r-- | src/rtc.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rtc.rs b/src/rtc.rs index f526e82ac..b750a97ea 100644 --- a/src/rtc.rs +++ b/src/rtc.rs | |||
| @@ -163,9 +163,7 @@ impl<'a, I: Instance> Rtc<'a, I> { | |||
| 163 | 163 | ||
| 164 | // The RTC is NOT gated by the MRCC, but we DO need to make sure the 16k clock | 164 | // The RTC is NOT gated by the MRCC, but we DO need to make sure the 16k clock |
| 165 | // on the vsys domain is active | 165 | // on the vsys domain is active |
| 166 | let clocks = with_clocks(|c| { | 166 | let clocks = with_clocks(|c| c.clk_16k_vsys.clone()); |
| 167 | c.clk_16k_vsys.clone() | ||
| 168 | }); | ||
| 169 | match clocks { | 167 | match clocks { |
| 170 | None => panic!("Clocks have not been initialized"), | 168 | None => panic!("Clocks have not been initialized"), |
| 171 | Some(None) => panic!("Clocks initialized, but clk_16k_vsys not active"), | 169 | Some(None) => panic!("Clocks initialized, but clk_16k_vsys not active"), |
