aboutsummaryrefslogtreecommitdiff
path: root/src/rtc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtc.rs')
-rw-r--r--src/rtc.rs4
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"),