diff options
| -rw-r--r-- | embassy-rp/src/rtc/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-rp/src/rtc/mod.rs b/embassy-rp/src/rtc/mod.rs index 7f3bbbe73..e4b6f0b1d 100644 --- a/embassy-rp/src/rtc/mod.rs +++ b/embassy-rp/src/rtc/mod.rs | |||
| @@ -145,6 +145,8 @@ impl<'d, T: Instance> RealTimeClock<'d, T> { | |||
| 145 | filter.write_setup_1(w); | 145 | filter.write_setup_1(w); |
| 146 | }); | 146 | }); |
| 147 | 147 | ||
| 148 | self.inner.regs().inte().modify(|w| w.set_rtc(true)); | ||
| 149 | |||
| 148 | // Set the enable bit and check if it is set | 150 | // Set the enable bit and check if it is set |
| 149 | self.inner.regs().irq_setup_0().modify(|w| w.set_match_ena(true)); | 151 | self.inner.regs().irq_setup_0().modify(|w| w.set_match_ena(true)); |
| 150 | while !self.inner.regs().irq_setup_0().read().match_active() { | 152 | while !self.inner.regs().irq_setup_0().read().match_active() { |
