fix wrong formatting due to not using nightly rustfmt
This commit is contained in:
parent
69d4b42841
commit
7931fcfb3d
@ -12,17 +12,13 @@
|
|||||||
|
|
||||||
use core::mem;
|
use core::mem;
|
||||||
|
|
||||||
use defmt_rtt as _;
|
|
||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_rp::{
|
use embassy_rp::peripherals::PIO0;
|
||||||
bind_interrupts,
|
use embassy_rp::pio::{Config, FifoJoin, InterruptHandler, Pio, ShiftConfig, ShiftDirection};
|
||||||
peripherals::PIO0,
|
use embassy_rp::{bind_interrupts, Peripheral};
|
||||||
pio::{Config, FifoJoin, InterruptHandler, Pio, ShiftConfig, ShiftDirection},
|
|
||||||
Peripheral,
|
|
||||||
};
|
|
||||||
use fixed::traits::ToFixed;
|
use fixed::traits::ToFixed;
|
||||||
use panic_probe as _;
|
|
||||||
use static_cell::StaticCell;
|
use static_cell::StaticCell;
|
||||||
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
bind_interrupts!(struct Irqs {
|
bind_interrupts!(struct Irqs {
|
||||||
PIO0_IRQ_0 => InterruptHandler<PIO0>;
|
PIO0_IRQ_0 => InterruptHandler<PIO0>;
|
||||||
@ -127,4 +123,3 @@ async fn main(_spawner: Spawner) {
|
|||||||
mem::swap(&mut back_buffer, &mut front_buffer);
|
mem::swap(&mut back_buffer, &mut front_buffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user