diff options
Diffstat (limited to 'examples/nrf-rtos-trace')
| -rw-r--r-- | examples/nrf-rtos-trace/src/bin/rtos_trace.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nrf-rtos-trace/src/bin/rtos_trace.rs b/examples/nrf-rtos-trace/src/bin/rtos_trace.rs index cf8b2f808..888375693 100644 --- a/examples/nrf-rtos-trace/src/bin/rtos_trace.rs +++ b/examples/nrf-rtos-trace/src/bin/rtos_trace.rs | |||
| @@ -6,7 +6,7 @@ use core::future::poll_fn; | |||
| 6 | use core::task::Poll; | 6 | use core::task::Poll; |
| 7 | 7 | ||
| 8 | use embassy_executor::Spawner; | 8 | use embassy_executor::Spawner; |
| 9 | use embassy_time::{Duration, Instant, Timer}; | 9 | use embassy_time::{Instant, Timer}; |
| 10 | #[cfg(feature = "log")] | 10 | #[cfg(feature = "log")] |
| 11 | use log::*; | 11 | use log::*; |
| 12 | use panic_probe as _; | 12 | use panic_probe as _; |
| @@ -34,7 +34,7 @@ async fn run1() { | |||
| 34 | info!("DING DONG"); | 34 | info!("DING DONG"); |
| 35 | #[cfg(not(feature = "log"))] | 35 | #[cfg(not(feature = "log"))] |
| 36 | rtos_trace::trace::marker(13); | 36 | rtos_trace::trace::marker(13); |
| 37 | Timer::after(Duration::from_ticks(16000)).await; | 37 | Timer::after_ticks(16000).await; |
| 38 | } | 38 | } |
| 39 | } | 39 | } |
| 40 | 40 | ||
