diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs index a5ad213e..ba03ff44 100644 --- a/examples/stm32l4/src/bin/spi_dma.rs +++ b/examples/stm32l4/src/bin/spi_dma.rs @@ -46,7 +46,7 @@ async fn main_task() { let ready = Input::new(p.PE1, Pull::Up); cortex_m::asm::delay(100_000); - reset.set_high(); + reset.set_high().unwrap(); cortex_m::asm::delay(100_000); while ready.is_low().unwrap() {