diff options
Diffstat (limited to 'examples/nrf/src/bin/raw_spawn.rs')
-rw-r--r-- | examples/nrf/src/bin/raw_spawn.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/nrf/src/bin/raw_spawn.rs b/examples/nrf/src/bin/raw_spawn.rs index d0bd6867..1d9d3ed5 100644 --- a/examples/nrf/src/bin/raw_spawn.rs +++ b/examples/nrf/src/bin/raw_spawn.rs @@ -1,18 +1,17 @@ #![no_std] #![no_main] -#[path = "../example_common.rs"] -mod example_common; -use example_common::*; - use core::mem; use cortex_m_rt::entry; - +use defmt::{info, unwrap}; use embassy::executor::raw::TaskStorage; use embassy::executor::Executor; use embassy::time::{Duration, Timer}; use embassy::util::Forever; +use defmt_rtt as _; // global logger +use panic_probe as _; + async fn run1() { loop { info!("BIG INFREQUENT TICK"); |