aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf-rtos-trace/src
diff options
context:
space:
mode:
authorQuentin Smith <[email protected]>2022-08-19 00:53:06 -0400
committerQuentin Smith <[email protected]>2022-08-19 00:53:41 -0400
commit71e468681b1c074e06276d34ff00e36169c632f5 (patch)
treece86220caabbdc044720df8efb23de7bc4c36ea0 /examples/nrf-rtos-trace/src
parent2edf532f8d8ce048137990bf74b07759428ed7c1 (diff)
parentaefa5275a2ab2cac6caef599e7adb76ce1beeddd (diff)
Merge branch 'master' of https://github.com/embassy-rs/embassy into rtos-trace
Diffstat (limited to 'examples/nrf-rtos-trace/src')
-rw-r--r--examples/nrf-rtos-trace/src/bin/rtos_trace.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/nrf-rtos-trace/src/bin/rtos_trace.rs b/examples/nrf-rtos-trace/src/bin/rtos_trace.rs
index 5699fe8e2..7d1ad87c8 100644
--- a/examples/nrf-rtos-trace/src/bin/rtos_trace.rs
+++ b/examples/nrf-rtos-trace/src/bin/rtos_trace.rs
@@ -4,9 +4,8 @@
4 4
5use core::task::Poll; 5use core::task::Poll;
6 6
7use embassy_executor::executor::Spawner; 7use embassy_executor::Spawner;
8use embassy_executor::time::{Duration, Instant, Timer}; 8use embassy_time::{Duration, Instant, Timer};
9use embassy_nrf::Peripherals;
10#[cfg(feature = "log")] 9#[cfg(feature = "log")]
11use log::*; 10use log::*;
12use panic_probe as _; 11use panic_probe as _;
@@ -55,7 +54,8 @@ async fn run3() {
55} 54}
56 55
57#[embassy_executor::main] 56#[embassy_executor::main]
58async fn main(spawner: Spawner, _p: Peripherals) { 57async fn main(spawner: Spawner) {
58 let _p = embassy_nrf::init(Default::default());
59 LOGGER.init(); 59 LOGGER.init();
60 #[cfg(feature = "log")] 60 #[cfg(feature = "log")]
61 { 61 {