mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
cargo +nightly fmt
This commit is contained in:
parent
49546abfec
commit
4f649caa81
@ -3,14 +3,12 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
use defmt_rtt as _;
|
||||
use embassy_executor::Spawner;
|
||||
use embassy_stm32 as hal;
|
||||
use grounded::uninit::GroundedArrayCell;
|
||||
use hal::rcc::*;
|
||||
use hal::sai::*;
|
||||
use hal::time::Hertz;
|
||||
use panic_probe as _;
|
||||
use {defmt_rtt as _, embassy_stm32 as hal, panic_probe as _};
|
||||
|
||||
const BLOCK_LENGTH: usize = 32; // 32 samples
|
||||
const HALF_DMA_BUFFER_LENGTH: usize = BLOCK_LENGTH * 2; // 2 channels
|
||||
|
Loading…
Reference in New Issue
Block a user