main: bark on watchdog logs

This commit is contained in:
2025-12-22 14:59:51 +01:00
parent 7c250da4d9
commit d1cfcb30e8

View File

@@ -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;
}