From f91bfef799cb3c9a3107caba80c3343a688c8527 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Wed, 4 Aug 2021 13:42:06 -0400 Subject: [PATCH] Formatting again. --- examples/stm32h7/src/bin/eth.rs | 2 +- examples/stm32h7/src/bin/spi.rs | 1 - examples/stm32h7/src/bin/spi_dma.rs | 2 -- examples/stm32h7/src/example_common.rs | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs index 4a841405..323ffc8c 100644 --- a/examples/stm32h7/src/bin/eth.rs +++ b/examples/stm32h7/src/bin/eth.rs @@ -22,6 +22,7 @@ use embassy_net::{ Config as NetConfig, Ipv4Address, Ipv4Cidr, StackResources, StaticConfigurator, TcpSocket, }; use embassy_stm32::clock::{Alarm, Clock}; +use embassy_stm32::dbgmcu::Dbgmcu; use embassy_stm32::eth::lan8742a::LAN8742A; use embassy_stm32::eth::{Ethernet, State}; use embassy_stm32::rng::Random; @@ -29,7 +30,6 @@ use embassy_stm32::{interrupt, peripherals}; use heapless::Vec; use panic_probe as _; use peripherals::{RNG, TIM2}; -use embassy_stm32::dbgmcu::Dbgmcu; #[embassy::task] async fn main_task( diff --git a/examples/stm32h7/src/bin/spi.rs b/examples/stm32h7/src/bin/spi.rs index ed3e369b..ef3ef249 100644 --- a/examples/stm32h7/src/bin/spi.rs +++ b/examples/stm32h7/src/bin/spi.rs @@ -78,4 +78,3 @@ fn main() -> ! { unwrap!(spawner.spawn(main_task(spi))); }) } - diff --git a/examples/stm32h7/src/bin/spi_dma.rs b/examples/stm32h7/src/bin/spi_dma.rs index ae6fe3ca..ccf0a703 100644 --- a/examples/stm32h7/src/bin/spi_dma.rs +++ b/examples/stm32h7/src/bin/spi_dma.rs @@ -74,5 +74,3 @@ fn main() -> ! { unwrap!(spawner.spawn(main_task(spi))); }) } - - diff --git a/examples/stm32h7/src/example_common.rs b/examples/stm32h7/src/example_common.rs index 25d80f65..2e26730f 100644 --- a/examples/stm32h7/src/example_common.rs +++ b/examples/stm32h7/src/example_common.rs @@ -6,8 +6,8 @@ use panic_probe as _; pub use defmt::*; use core::sync::atomic::{AtomicUsize, Ordering}; -use embassy_stm32::Config; use embassy_stm32::time::U32Ext; +use embassy_stm32::Config; defmt::timestamp! {"{=u64}", { static COUNT: AtomicUsize = AtomicUsize::new(0);