Formatting again.
This commit is contained in:
parent
f4971fbb79
commit
f91bfef799
@ -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(
|
||||
|
@ -78,4 +78,3 @@ fn main() -> ! {
|
||||
unwrap!(spawner.spawn(main_task(spi)));
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -74,5 +74,3 @@ fn main() -> ! {
|
||||
unwrap!(spawner.spawn(main_task(spi)));
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user