main: bark on watchdog logs
This commit is contained in:
@@ -190,6 +190,7 @@ async fn wdt_task(mut wdt: Wdt<esp_hal::peripherals::TIMG1<'static>>) {
|
||||
loop {
|
||||
// Watchdog is set to trip after 5 seconds, so we wait just long enough before it trips
|
||||
// TODO: We should maybe extend this timeout to 30s or 1m when the system is sleeping
|
||||
trace!("Bark wdt");
|
||||
wdt.feed();
|
||||
Timer::after_secs(3).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user