Formatting again.

This commit is contained in:
Bob McWhirter 2021-08-04 13:42:06 -04:00
parent f4971fbb79
commit f91bfef799
4 changed files with 2 additions and 5 deletions

View File

@ -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(

View File

@ -78,4 +78,3 @@ fn main() -> ! {
unwrap!(spawner.spawn(main_task(spi)));
})
}

View File

@ -74,5 +74,3 @@ fn main() -> ! {
unwrap!(spawner.spawn(main_task(spi)));
})
}

View File

@ -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);