diff options
| author | Bob McWhirter <[email protected]> | 2021-07-21 11:33:04 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-07-23 13:22:39 -0400 |
| commit | 34dfe28d3a80192ed69e8f49c41172d0738afda8 (patch) | |
| tree | 2d0b26bdca0a56a83f08083fb8388f7adcf1d59a /examples/stm32l4 | |
| parent | 053e3303757369fea2c98cc1f01c7918df18fed0 (diff) | |
FFS warnings about unused Result<>.
Diffstat (limited to 'examples/stm32l4')
| -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() { |
