summaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/timer.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-04-02 04:35:06 +0200
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2022-04-02 04:35:06 +0200
commit82803bffdab0842bf6c3e4bce21131d437b06669 (patch)
tree588c65c93b31b897f53d389f7876dc2703eb0fa8 /examples/nrf/src/bin/timer.rs
parenta9e63167e1ec230ca3d28da771378f5f4936a840 (diff)
downloadembassy-82803bffdab0842bf6c3e4bce21131d437b06669.zip
Use embassy/defmt-timestamp-uptime in all examples.
Diffstat (limited to 'examples/nrf/src/bin/timer.rs')
-rw-r--r--examples/nrf/src/bin/timer.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/nrf/src/bin/timer.rs b/examples/nrf/src/bin/timer.rs
index f27081b7..ff8ee9a8 100644
--- a/examples/nrf/src/bin/timer.rs
+++ b/examples/nrf/src/bin/timer.rs
@@ -2,13 +2,13 @@
#![no_main]
#![feature(type_alias_impl_trait)]
-#[path = "../example_common.rs"]
-mod example_common;
-use embassy_nrf::Peripherals;
-use example_common::*;
-
+use defmt::{info, unwrap};
use embassy::executor::Spawner;
use embassy::time::{Duration, Timer};
+use embassy_nrf::Peripherals;
+
+use defmt_rtt as _; // global logger
+use panic_probe as _;
#[embassy::task]
async fn run1() {