Formatting

This commit is contained in:
Rasmus Melchior Jacobsen 2023-05-25 22:48:17 +02:00
parent 8938d928f8
commit 41a632a56c

View File

@ -4,10 +4,10 @@
use defmt::{info, unwrap}; use defmt::{info, unwrap};
use embassy_executor::Spawner; use embassy_executor::Spawner;
use embassy_time::{Timer, Duration}; use embassy_stm32::bind_interrupts;
use embassy_stm32::flash::{Flash, InterruptHandler}; use embassy_stm32::flash::{Flash, InterruptHandler};
use embassy_stm32::gpio::{AnyPin, Level, Output, Pin, Speed}; use embassy_stm32::gpio::{AnyPin, Level, Output, Pin, Speed};
use embassy_stm32::bind_interrupts; use embassy_time::{Duration, Timer};
use {defmt_rtt as _, panic_probe as _}; use {defmt_rtt as _, panic_probe as _};
bind_interrupts!(struct Irqs { bind_interrupts!(struct Irqs {
@ -82,4 +82,4 @@ async fn test_flash<'a>(f: &mut Flash<'a>, offset: u32, size: u32) {
30, 31, 32 30, 31, 32
] ]
); );
} }