1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-26 07:02:21 +01:00

Set ESP32 watchdog to loop task (#2846)

This commit is contained in:
Oxan van Leeuwen
2021-12-01 21:05:42 +01:00
committed by GitHub
parent 607601b3a4
commit 54106179a1
6 changed files with 35 additions and 15 deletions

View File

@@ -20,6 +20,7 @@ void arch_restart() {
yield();
}
}
void arch_init() {}
void IRAM_ATTR HOT arch_feed_wdt() {
ESP.wdtFeed(); // NOLINT(readability-static-accessed-through-instance)
}