aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/raw_spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nrf/src/bin/raw_spawn.rs')
-rw-r--r--examples/nrf/src/bin/raw_spawn.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/nrf/src/bin/raw_spawn.rs b/examples/nrf/src/bin/raw_spawn.rs
index 1d9d3ed51..d564b6b26 100644
--- a/examples/nrf/src/bin/raw_spawn.rs
+++ b/examples/nrf/src/bin/raw_spawn.rs
@@ -2,15 +2,14 @@
2#![no_main] 2#![no_main]
3 3
4use core::mem; 4use core::mem;
5
5use cortex_m_rt::entry; 6use cortex_m_rt::entry;
6use defmt::{info, unwrap}; 7use defmt::{info, unwrap};
7use embassy::executor::raw::TaskStorage; 8use embassy::executor::raw::TaskStorage;
8use embassy::executor::Executor; 9use embassy::executor::Executor;
9use embassy::time::{Duration, Timer}; 10use embassy::time::{Duration, Timer};
10use embassy::util::Forever; 11use embassy::util::Forever;
11 12use {defmt_rtt as _, panic_probe as _};
12use defmt_rtt as _; // global logger
13use panic_probe as _;
14 13
15async fn run1() { 14async fn run1() {
16 loop { 15 loop {