cargo +nightly fmt

This commit is contained in:
Dickless 2024-07-05 03:29:25 +09:00
parent 49546abfec
commit 4f649caa81

View File

@ -3,14 +3,12 @@
#![no_std] #![no_std]
#![no_main] #![no_main]
use defmt_rtt as _;
use embassy_executor::Spawner; use embassy_executor::Spawner;
use embassy_stm32 as hal;
use grounded::uninit::GroundedArrayCell; use grounded::uninit::GroundedArrayCell;
use hal::rcc::*; use hal::rcc::*;
use hal::sai::*; use hal::sai::*;
use hal::time::Hertz; 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 BLOCK_LENGTH: usize = 32; // 32 samples
const HALF_DMA_BUFFER_LENGTH: usize = BLOCK_LENGTH * 2; // 2 channels const HALF_DMA_BUFFER_LENGTH: usize = BLOCK_LENGTH * 2; // 2 channels