Check for null screen

This commit is contained in:
Jonathan Bennett
2025-05-17 22:03:23 -05:00
parent 212005bfe9
commit f1440a27d7
14 changed files with 85 additions and 60 deletions

View File

@@ -1227,7 +1227,8 @@ void setup()
nodeDB->saveToDisk(SEGMENT_CONFIG);
if (!rIf->reconfigure()) {
LOG_WARN("Reconfigure failed, rebooting");
screen->startAlert("Rebooting...");
if (screen)
screen->startAlert("Rebooting...");
rebootAtMsec = millis() + 5000;
}
}