1
0
Fork 0

Fix logger output

This commit is contained in:
Alexander Böhm 2024-01-05 10:56:56 +01:00
parent 281392fe0c
commit 1af8be2aa1
1 changed files with 2 additions and 0 deletions

View File

@ -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();