diff options
Diffstat (limited to 'examples/stm32wl55/src/bin/button.rs')
| -rw-r--r-- | examples/stm32wl55/src/bin/button.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/stm32wl55/src/bin/button.rs b/examples/stm32wl55/src/bin/button.rs index 90212d3d7..84e1f599f 100644 --- a/examples/stm32wl55/src/bin/button.rs +++ b/examples/stm32wl55/src/bin/button.rs | |||
| @@ -9,7 +9,6 @@ mod example_common; | |||
| 9 | use embassy_stm32::{ | 9 | use embassy_stm32::{ |
| 10 | dbgmcu::Dbgmcu, | 10 | dbgmcu::Dbgmcu, |
| 11 | gpio::{Input, Level, Output, Pull, Speed}, | 11 | gpio::{Input, Level, Output, Pull, Speed}, |
| 12 | rcc::*, | ||
| 13 | }; | 12 | }; |
| 14 | use embedded_hal::digital::v2::{InputPin, OutputPin}; | 13 | use embedded_hal::digital::v2::{InputPin, OutputPin}; |
| 15 | use example_common::*; | 14 | use example_common::*; |
| @@ -20,7 +19,7 @@ use cortex_m_rt::entry; | |||
| 20 | fn main() -> ! { | 19 | fn main() -> ! { |
| 21 | info!("Hello World!"); | 20 | info!("Hello World!"); |
| 22 | 21 | ||
| 23 | let mut p = embassy_stm32::init(Default::default()); | 22 | let p = embassy_stm32::init(Default::default()); |
| 24 | 23 | ||
| 25 | unsafe { Dbgmcu::enable_all() }; | 24 | unsafe { Dbgmcu::enable_all() }; |
| 26 | 25 | ||
