diff options
| author | Bob McWhirter <[email protected]> | 2021-07-21 11:28:02 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-07-23 13:22:39 -0400 |
| commit | 053e3303757369fea2c98cc1f01c7918df18fed0 (patch) | |
| tree | 08a9ec9b93a6508fc3dd9bce7a777c3f8d931025 /examples/stm32l4 | |
| parent | e269971597f45ac4138b9097538fbdd7dc7be588 (diff) | |
Fix warnings about un-used variables.
Diffstat (limited to 'examples/stm32l4')
| -rw-r--r-- | examples/stm32l4/src/bin/spi_dma.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs index 8725f2ca8..a5ad213e3 100644 --- a/examples/stm32l4/src/bin/spi_dma.rs +++ b/examples/stm32l4/src/bin/spi_dma.rs | |||
| @@ -39,8 +39,8 @@ async fn main_task() { | |||
| 39 | 39 | ||
| 40 | // These are the pins for the Inventek eS-Wifi SPI Wifi Adapter. | 40 | // These are the pins for the Inventek eS-Wifi SPI Wifi Adapter. |
| 41 | 41 | ||
| 42 | let boot = Output::new(p.PB12, Level::Low, Speed::VeryHigh); | 42 | let _boot = Output::new(p.PB12, Level::Low, Speed::VeryHigh); |
| 43 | let wake = Output::new(p.PB13, Level::Low, Speed::VeryHigh); | 43 | let _wake = Output::new(p.PB13, Level::Low, Speed::VeryHigh); |
| 44 | let mut reset = Output::new(p.PE8, Level::Low, Speed::VeryHigh); | 44 | let mut reset = Output::new(p.PE8, Level::Low, Speed::VeryHigh); |
| 45 | let mut cs = Output::new(p.PE0, Level::High, Speed::VeryHigh); | 45 | let mut cs = Output::new(p.PE0, Level::High, Speed::VeryHigh); |
| 46 | let ready = Input::new(p.PE1, Pull::Up); | 46 | let ready = Input::new(p.PE1, Pull::Up); |
