Remove unused imports.

This commit is contained in:
Bob McWhirter 2021-11-02 15:56:04 -04:00
parent d1272e00bb
commit 9deafa8bab

View file

@ -4,8 +4,6 @@
#[path = "../example_common.rs"]
mod example_common;
use embassy_stm32::gpio::{Input, Pull};
use embedded_hal::digital::v2::InputPin;
use example_common::*;
#[cortex_m_rt::entry]
@ -13,16 +11,4 @@ fn main() -> ! {
info!("Hello World!");
loop {}
//let p = embassy_stm32::init(Default::default());
//let button = Input::new(p.PC13, Pull::Up);
//loop {
//if unwrap!(button.is_high()) {
//info!("high");
//} else {
//info!("low");
//}
//}
}