forked from moke/spaceapi-tuerpie-nix
Fix logger output
This commit is contained in:
parent
281392fe0c
commit
1af8be2aa1
|
@ -13,6 +13,8 @@ static ANTI_BOUNCE_DELAY: u64 = 1;
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
env_logger::init();
|
||||
|
||||
// setup
|
||||
let gpio = Gpio::new().unwrap();
|
||||
let pin = gpio.get(DOOR_PIN).unwrap().into_input();
|
||||
|
|
Loading…
Reference in New Issue