Fixed TLS "memory allocation failure"

This commit is contained in:
Jm Casler committed 2022-01-05 22:12:32 -08:00
1 parent da7ca98f44
commit 3a17822893
4 files changed
+51 -7

No files matched your search

+4
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);
}