diff --git a/LCDDisplay.cpp b/LCDDisplay.cpp index c559c76..991db7d 100644 --- a/LCDDisplay.cpp +++ b/LCDDisplay.cpp @@ -72,6 +72,7 @@ void LCDDisplay::loop() { } LCDDisplay *LCDDisplay::loop2(bool force) { + if (!lcdDisplay) return NULL; unsigned long currentMillis = millis(); if (!force) {