fix(esp8266): Fix hardware watch dog triggers after software restart
@@ -50,6 +50,9 @@ esp_err_t esp_task_wdt_init(void)
#ifdef CONFIG_TASK_WDT_PANIC
const uint32_t panic_time_param = 11;
+ // Just for soft restart
+ _xt_clear_ints(1 << ETS_WDT_INUM);
+
_xt_isr_attach(ETS_WDT_INUM, esp_task_wdt_isr, NULL);
_xt_isr_unmask(1 << ETS_WDT_INUM);
