Fixed TLS "memory allocation failure"

This commit is contained in:
Jm Casler
2022-01-05 22:12:32 -08:00
parent da7ca98f44
commit 3a17822893
4 changed files with 51 additions and 7 deletions

View File

@@ -175,6 +175,10 @@ int32_t WebServerThread::runOnce()
// DEBUG_MSG("WebServerThread::runOnce()\n");
handleWebResponse();
if (requestRestart && (millis() / 1000) > requestRestart) {
ESP.restart();
}
// Loop every 5ms.
return (5);
}