mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-30 03:26:13 +01:00
Merge pull request #137 from DCC-EX/neil-LCDfix
Ensure loop2() doesn't run during initialisation if there's no display.
This commit is contained in:
commit
42fdf4fed3
|
@ -72,6 +72,7 @@ void LCDDisplay::loop() {
|
|||
}
|
||||
|
||||
LCDDisplay *LCDDisplay::loop2(bool force) {
|
||||
if (!lcdDisplay) return NULL;
|
||||
unsigned long currentMillis = millis();
|
||||
|
||||
if (!force) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user