aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/basic/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-08-17 23:22:52 +0000
committerGitHub <[email protected]>2022-08-17 23:22:52 +0000
commitbe55d2a39eb399d693d11f37dfa4b87cd2bd3c7a (patch)
tree2ef0b4d6f9b1c02dac2589e7b57982c20cbc0e66 /docs/modules/ROOT/examples/basic/src
parent1c5b54a4823d596db730eb476c3ab78110557214 (diff)
parent5daa173ce4b153a532b4daa9e94c7a248231f25b (diff)
Merge #909
909: Split embassy-time from embassy-executor. r=Dirbaio a=Dirbaio For now this will fail to link unless you enable `embassy-executor/integrated-timers`. i'll add an executor-independent timer queue to `embassy-time` later. Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'docs/modules/ROOT/examples/basic/src')
-rw-r--r--docs/modules/ROOT/examples/basic/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/ROOT/examples/basic/src/main.rs b/docs/modules/ROOT/examples/basic/src/main.rs
index d680dd064..04170db55 100644
--- a/docs/modules/ROOT/examples/basic/src/main.rs
+++ b/docs/modules/ROOT/examples/basic/src/main.rs
@@ -3,10 +3,10 @@
3#![feature(type_alias_impl_trait)] 3#![feature(type_alias_impl_trait)]
4 4
5use defmt::*; 5use defmt::*;
6use embassy_executor::executor::Spawner; 6use embassy_executor::Spawner;
7use embassy_executor::time::{Duration, Timer};
8use embassy_nrf::gpio::{Level, Output, OutputDrive}; 7use embassy_nrf::gpio::{Level, Output, OutputDrive};
9use embassy_nrf::peripherals::P0_13; 8use embassy_nrf::peripherals::P0_13;
9use embassy_time::{Duration, Timer};
10use {defmt_rtt as _, panic_probe as _}; // global logger 10use {defmt_rtt as _, panic_probe as _}; // global logger
11 11
12#[embassy_executor::task] 12#[embassy_executor::task]