1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Fix @ reporting on startup

This commit is contained in:
Asbelos 2023-11-23 09:00:49 +00:00
parent ef47257d67
commit b478056a9f
4 changed files with 6 additions and 3 deletions

View File

@ -330,7 +330,7 @@ void CommandDistributor::setVirtualLCDSerial(Print * stream) {
virtualLCDSerial=stream;
}
Print* CommandDistributor::virtualLCDSerial=nullptr;
Print* CommandDistributor::virtualLCDSerial=&USB_SERIAL;
byte CommandDistributor::virtualLCDClient=0xFF;
byte CommandDistributor::rememberVLCDClient=0;

View File

@ -87,7 +87,7 @@ void setup()
DISPLAY_START (
// This block is still executed for DIAGS if display not in use
LCD(0,F("DCC-EX v%S"),F(VERSION));
LCD(0,F("DCC-EX v" VERSION));
LCD(1,F("Lic GPLv3"));
);

View File

@ -54,7 +54,9 @@
xxx; \
t->refresh();}
#else
#define DISPLAY_START(xxx) {}
#define DISPLAY_START(xxx) { \
xxx; \
}
#endif
#endif // LCD_Implementation_h

1
myHalKCS.cpp Normal file
View File

@ -0,0 +1 @@
// If you are planning to use multiple mux devices, perhaps it is good to use the 3-position syntax for all.