mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 06:40:32 +00:00
formatting again
This commit is contained in:
parent
6b84bf5137
commit
f52c77693e
@ -87,15 +87,15 @@ mod shared {
|
|||||||
}
|
}
|
||||||
|
|
||||||
use core::mem::MaybeUninit;
|
use core::mem::MaybeUninit;
|
||||||
|
|
||||||
use defmt::*;
|
use defmt::*;
|
||||||
use embassy_executor::Spawner;
|
use embassy_executor::Spawner;
|
||||||
use embassy_stm32::gpio::{Level, Output, Speed};
|
use embassy_stm32::gpio::{Level, Output, Speed};
|
||||||
use embassy_stm32::SharedData;
|
use embassy_stm32::SharedData;
|
||||||
use embassy_time::Timer;
|
use embassy_time::Timer;
|
||||||
use {defmt_rtt as _, panic_probe as _};
|
|
||||||
|
|
||||||
// Use our shared state from the module
|
// Use our shared state from the module
|
||||||
use shared::SHARED_LED_STATE;
|
use shared::SHARED_LED_STATE;
|
||||||
|
use {defmt_rtt as _, panic_probe as _};
|
||||||
|
|
||||||
#[link_section = ".ram_d3"]
|
#[link_section = ".ram_d3"]
|
||||||
static SHARED_DATA: MaybeUninit<SharedData> = MaybeUninit::uninit();
|
static SHARED_DATA: MaybeUninit<SharedData> = MaybeUninit::uninit();
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#![no_main]
|
#![no_main]
|
||||||
|
|
||||||
use core::mem::MaybeUninit;
|
use core::mem::MaybeUninit;
|
||||||
|
|
||||||
use cortex_m::asm;
|
use cortex_m::asm;
|
||||||
use cortex_m::peripheral::{MPU, SCB};
|
use cortex_m::peripheral::{MPU, SCB};
|
||||||
use defmt::*;
|
use defmt::*;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user