Watchdog timer (@poelzi).

Transpose optimisations.
Rain effect updated.
This commit is contained in:
Blaz Kristan
2022-05-30 22:21:13 +02:00
parent d7e1dc1f95
commit 366006273d
6 changed files with 265 additions and 388 deletions

View File

@@ -214,6 +214,15 @@ void WLED::loop()
loops++;
#endif // WLED_DEBUG
toki.resetTick();
#if WLED_WATCHDOG_TIMEOUT > 0
// we finished our mainloop, reset the watchdog timer
#ifdef ARDUINO_ARCH_ESP32
esp_task_wdt_reset();
#else
ESP.wdtFeed();
#endif
#endif
}
void WLED::enableWatchdog() {