fix: unwrap sai receiver start()

This commit is contained in:
elagil 2024-11-16 15:09:47 +01:00
parent d592875ca6
commit f2a46e2ac3

View File

@ -107,7 +107,7 @@ async fn main(_spawner: Spawner) {
let mut sai_receiver = Sai::new_synchronous(sub_block_rx, p.PE3, p.DMA1_CH1, rx_buffer, rx_config);
sai_receiver.start();
sai_receiver.start().unwrap();
let mut buf = [0u32; HALF_DMA_BUFFER_LENGTH];