Fixed TLS "memory allocation failure"
This commit is contained in:
1 parent
da7ca98f44
commit
3a17822893
4 files changed
+51
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user