summaryrefslogtreecommitdiff
path: root/examples/stm32l4
diff options
context:
space:
mode:
authorBob McWhirter <bmcwhirt@redhat.com>2021-07-21 11:28:02 -0400
committerBob McWhirter <bmcwhirt@redhat.com>2021-07-23 13:22:39 -0400
commit053e3303757369fea2c98cc1f01c7918df18fed0 (patch)
tree08a9ec9b93a6508fc3dd9bce7a777c3f8d931025 /examples/stm32l4
parente269971597f45ac4138b9097538fbdd7dc7be588 (diff)
downloadembassy-053e3303757369fea2c98cc1f01c7918df18fed0.zip
Fix warnings about un-used variables.
Diffstat (limited to 'examples/stm32l4')
-rw-r--r--examples/stm32l4/src/bin/spi_dma.rs4
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 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);