scuffed uart print

This commit is contained in:
Priec
2025-12-13 00:55:30 +01:00
parent 2c9433cb84
commit f36a9fd9e2
4 changed files with 66 additions and 31 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_reset(iwdg: Peri<'_, peripherals::IWDG>) {
pub async fn init_watchdog_reset(iwdg: Peri<'static, peripherals::IWDG>) {
info!("Initializing watchdog after watchdog wake...");
let mut watchdog = IndependentWatchdog::new(iwdg, WATCHDOG_TIMEOUT_US);
watchdog.unleash();