diff --git a/examples/stm32l0/src/bin/spi.rs b/examples/stm32l0/src/bin/spi.rs index 9bb9b741..5290906e 100644 --- a/examples/stm32l0/src/bin/spi.rs +++ b/examples/stm32l0/src/bin/spi.rs @@ -18,10 +18,11 @@ use embassy_stm32::rcc; use embassy_stm32::spi::{Config, Spi}; use embassy_stm32::time::Hertz; use embedded_hal::blocking::spi::Transfer; +use embassy_stm32::dma::NoDma; #[entry] fn main() -> ! { - info!("Hello World, dude!"); + info!("Hello World, folks!"); let mut p = embassy_stm32::init(Default::default()); let mut rcc = rcc::Rcc::new(p.RCC); @@ -32,6 +33,8 @@ fn main() -> ! { p.PB3, p.PA7, p.PA6, + NoDma, + NoDma, Hertz(1_000_000), Config::default(), );