This commit is contained in:
Dickless 2024-07-05 03:17:04 +09:00
parent 4ecdf31f9b
commit 49546abfec

View File

@ -105,8 +105,7 @@ async fn main(_spawner: Spawner) {
core::slice::from_raw_parts_mut(ptr, len) core::slice::from_raw_parts_mut(ptr, len)
}; };
let mut sai_receiver = let mut sai_receiver = Sai::new_synchronous(sub_block_rx, p.PE3, p.DMA1_CH1, rx_buffer, rx_config);
Sai::new_synchronous(sub_block_rx, p.PE3, p.DMA1_CH1, rx_buffer, rx_config);
sai_receiver.start(); sai_receiver.start();
sai_transmitter.start(); sai_transmitter.start();