diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-11-01 17:17:24 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-11-01 17:17:24 +0100 |
| commit | 5e8608c7a5b1e4e92f1fb650ea0ef47e5a6df563 (patch) | |
| tree | f731a0329d92d8fae4168957f8e90716b58ad00b /examples/src/bin/rtc_raw.rs | |
| parent | 2c13e251849fd3e3cf06e2d5363c311ac880c77d (diff) | |
Make defmt optional with new `anyfmt` crate
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() |
