A personal rust firmware for the Badger 2040 W

always feed the dog

Changed files
+5 -1
src
+5 -1
src/main.rs
··· 495 495 496 496 if go_to_sleep { 497 497 info!("going to sleep"); 498 - Timer::after(Duration::from_secs(25)).await; 498 + //SO i need to wait for 25 seconds to make sure the display updates fully...But i need to keep feeding the dog atleast every 8 seconds 499 + for _ in 0..25 { 500 + watchdog.feed(); 501 + Timer::after(Duration::from_secs(1)).await; 502 + } 499 503 //Set the rtc and sleep for 15 minutes 500 504 //goes to sleep for 15 mins 501 505 _ = rtc_device.disable_all_alarms();