diff options
Diffstat (limited to 'examples/src/bin/rtc_raw.rs')
| -rw-r--r-- | examples/src/bin/rtc_raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/rtc_raw.rs b/examples/src/bin/rtc_raw.rs index 4453ecae1..ad5fab246 100644 --- a/examples/src/bin/rtc_raw.rs +++ b/examples/src/bin/rtc_raw.rs | |||
| @@ -18,7 +18,7 @@ static mut RTC: MaybeUninit<rtc::RTC<embassy_nrf::pac::RTC1>> = MaybeUninit::uni | |||
| 18 | fn main() -> ! { | 18 | fn main() -> ! { |
| 19 | info!("Hello World!"); | 19 | info!("Hello World!"); |
| 20 | 20 | ||
| 21 | let p = embassy_nrf::pac::Peripherals::take().dewrap(); | 21 | let p = unwrap!(embassy_nrf::pac::Peripherals::take()); |
| 22 | 22 | ||
| 23 | clocks::Clocks::new(p.CLOCK) | 23 | clocks::Clocks::new(p.CLOCK) |
| 24 | .enable_ext_hfosc() | 24 | .enable_ext_hfosc() |
