Experimenting with fw upgrade for esp8266

This commit is contained in:
Gunnar Skjold
2022-03-12 11:16:37 +01:00
parent 45275c271e
commit 0ec1a8ece3
3 changed files with 34 additions and 10 deletions

View File

@@ -354,7 +354,7 @@ void setup() {
esp_task_wdt_init(WDT_TIMEOUT, true);
esp_task_wdt_add(NULL);
#elif defined(ESP8266)
ESP.wdtEnable(WDT_TIMEOUT);
ESP.wdtEnable(WDT_TIMEOUT * 1000);
#endif
}