void watchdog_init(int timeoutMs) { watchdog_device_init(timeoutMs); if (watchdog_is_watchdog_reset()) { pr_warning("watchdog: detected watchdog reset!\r\n"); } }
void watchdog_init(int timeoutMs) { pr_info(LOG_PFX "Initializing...\r\n"); watchdog_device_init(timeoutMs); if (watchdog_is_watchdog_reset()) pr_warning(LOG_PFX "Detected watchdog reset!\r\n"); }