aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/layer-by-layer/blinky-async/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-06-12 22:15:44 +0200
committerDario Nieuwenhuis <[email protected]>2022-06-12 22:22:31 +0200
commita8703b75988e1e700af701116464025679d2feb8 (patch)
treef4ec5de70ec05e793a774049e010935ac45853ed /docs/modules/ROOT/examples/layer-by-layer/blinky-async/src
parent6199bdea710cde33e5d5381b6d6abfc8af46df19 (diff)
Run rustfmt.
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) {