aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32l4/src/bin/spi_dma.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs
index 2d176a3d2..8725f2ca8 100644
--- a/examples/stm32l4/src/bin/spi_dma.rs
+++ b/examples/stm32l4/src/bin/spi_dma.rs
@@ -39,11 +39,11 @@ 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 mut boot = Output::new(p.PB12, Level::Low, Speed::VeryHigh); 42 let boot = Output::new(p.PB12, Level::Low, Speed::VeryHigh);
43 let mut 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 mut 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();