aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/layer-by-layer/blinky-async/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules/ROOT/examples/layer-by-layer/blinky-async/src')
-rw-r--r--docs/modules/ROOT/examples/layer-by-layer/blinky-async/src/main.rs12
1 files changed, 4 insertions, 8 deletions
diff --git a/docs/modules/ROOT/examples/layer-by-layer/blinky-async/src/main.rs b/docs/modules/ROOT/examples/layer-by-layer/blinky-async/src/main.rs
index 35726be64..56bc698da 100644
--- a/docs/modules/ROOT/examples/layer-by-layer/blinky-async/src/main.rs
+++ b/docs/modules/ROOT/examples/layer-by-layer/blinky-async/src/main.rs
@@ -2,15 +2,11 @@
2#![no_main] 2#![no_main]
3#![feature(type_alias_impl_trait)] 3#![feature(type_alias_impl_trait)]
4 4
5use defmt_rtt as _;
6use panic_probe as _;
7
8use embassy::executor::Spawner; 5use embassy::executor::Spawner;
9use embassy_stm32::{ 6use embassy_stm32::exti::ExtiInput;
10 exti::ExtiInput, 7use embassy_stm32::gpio::{Input, Level, Output, Pull, Speed};
11 gpio::{Input, Level, Output, Pull, Speed}, 8use embassy_stm32::Peripherals;
12 Peripherals, 9use {defmt_rtt as _, panic_probe as _};
13};
14 10
15#[embassy::main] 11#[embassy::main]
16async fn main(_s: Spawner, p: Peripherals) { 12async fn main(_s: Spawner, p: Peripherals) {