working uart trigger of standby

This commit is contained in:
Priec
2025-12-03 22:23:41 +01:00
parent c7a74df023
commit 7184ce9898
2 changed files with 11 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ pub fn clear_wakeup_flags() {
///
/// # Timing
/// - Timeout value is configured in `WATCHDOG_TIMEOUT_US` from config.rs
pub async fn init_watchdog(iwdg: Peri<'_, peripherals::IWDG>) {
pub async fn init_watchdog_reset(iwdg: Peri<'_, peripherals::IWDG>) {
info!("Initializing watchdog after watchdog wake...");
let mut watchdog = IndependentWatchdog::new(iwdg, WATCHDOG_TIMEOUT_US);
watchdog.unleash();