From 053e3303757369fea2c98cc1f01c7918df18fed0 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Wed, 21 Jul 2021 11:28:02 -0400 Subject: [PATCH] Fix warnings about un-used variables. --- examples/stm32l4/src/bin/spi_dma.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs index 8725f2ca..a5ad213e 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() { // These are the pins for the Inventek eS-Wifi SPI Wifi Adapter. - let boot = Output::new(p.PB12, Level::Low, Speed::VeryHigh); - let wake = Output::new(p.PB13, Level::Low, Speed::VeryHigh); + let _boot = Output::new(p.PB12, Level::Low, Speed::VeryHigh); + let _wake = Output::new(p.PB13, Level::Low, Speed::VeryHigh); let mut reset = Output::new(p.PE8, Level::Low, Speed::VeryHigh); let mut cs = Output::new(p.PE0, Level::High, Speed::VeryHigh); let ready = Input::new(p.PE1, Pull::Up);