diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32l4/src/bin/spi_dma.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs index a5ad213e3..ba03ff44e 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() { | |||
| 46 | let ready = Input::new(p.PE1, Pull::Up); | 46 | let ready = Input::new(p.PE1, Pull::Up); |
| 47 | 47 | ||
| 48 | cortex_m::asm::delay(100_000); | 48 | cortex_m::asm::delay(100_000); |
| 49 | reset.set_high(); | 49 | reset.set_high().unwrap(); |
| 50 | cortex_m::asm::delay(100_000); | 50 | cortex_m::asm::delay(100_000); |
| 51 | 51 | ||
| 52 | while ready.is_low().unwrap() { | 52 | while ready.is_low().unwrap() { |
