mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
rustfmt everything
This commit is contained in:
parent
87f27d5ed6
commit
a1a5acb825
@ -37,7 +37,6 @@ async fn my_task(sender: Sender<'static, WithNoThreads, LedState, 1>) {
|
||||
|
||||
#[embassy::main]
|
||||
async fn main(spawner: Spawner, p: Peripherals) {
|
||||
|
||||
let mut led = Output::new(p.P0_13, Level::Low, OutputDrive::Standard);
|
||||
|
||||
let channel = CHANNEL.put(Channel::new());
|
||||
|
@ -14,11 +14,11 @@ use embedded_hal::digital::v2::OutputPin;
|
||||
use example_common::*;
|
||||
|
||||
use cortex_m_rt::entry;
|
||||
use embassy_stm32::dma::NoDma;
|
||||
use embassy_stm32::rcc;
|
||||
use embassy_stm32::spi::{Config, Spi};
|
||||
use embassy_stm32::time::Hertz;
|
||||
use embedded_hal::blocking::spi::Transfer;
|
||||
use embassy_stm32::dma::NoDma;
|
||||
|
||||
#[entry]
|
||||
fn main() -> ! {
|
||||
|
Loading…
Reference in New Issue
Block a user