mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-23 23:32:30 +00:00
fix: unwrap sai receiver start()
This commit is contained in:
parent
d592875ca6
commit
f2a46e2ac3
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user