Remove unused imports.
This commit is contained in:
parent
d1272e00bb
commit
9deafa8bab
1 changed files with 0 additions and 14 deletions
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
#[path = "../example_common.rs"]
|
#[path = "../example_common.rs"]
|
||||||
mod example_common;
|
mod example_common;
|
||||||
use embassy_stm32::gpio::{Input, Pull};
|
|
||||||
use embedded_hal::digital::v2::InputPin;
|
|
||||||
use example_common::*;
|
use example_common::*;
|
||||||
|
|
||||||
#[cortex_m_rt::entry]
|
#[cortex_m_rt::entry]
|
||||||
|
@ -13,16 +11,4 @@ fn main() -> ! {
|
||||||
info!("Hello World!");
|
info!("Hello World!");
|
||||||
|
|
||||||
loop {}
|
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");
|
|
||||||
//}
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue