diff --git a/src/mesh/http/WebServer.cpp b/src/mesh/http/WebServer.cpp index dea62765..301b18cc 100644 --- a/src/mesh/http/WebServer.cpp +++ b/src/mesh/http/WebServer.cpp @@ -179,8 +179,9 @@ void createSSLCert() yield(); esp_task_wdt_reset(); - if ((millis() / 1000 >= 3) && screen) { - screen->setSSLFrames(); + if ((millis() / 1000 >= 3) && screen) { + if (screen) + screen->setSSLFrames(); } } runLoop = false;