diff --git a/DCC.cpp b/DCC.cpp index 25cd118..e3dd921 100644 --- a/DCC.cpp +++ b/DCC.cpp @@ -910,7 +910,7 @@ void DCC::callback(int value) { // check for automatic retry if (value == -1 && ackManagerRetry > 0) { ackRetrySum ++; - StringFormatter::lcd(0, F("RETRY %d %d %d %d"), ackManagerCv, ackManagerRetry, ackRetry, ackRetrySum); + LCD(0, F("RETRY %d %d %d %d"), ackManagerCv, ackManagerRetry, ackRetry, ackRetrySum); ackManagerRetry --; ackManagerProg = ackManagerProgStart; return; diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index ef25606..27be7f3 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -469,7 +469,7 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream) if (mode == POWERMODE::OFF) DCC::setProgTrackBoost(false); // Prog track boost mode will not outlive prog track off StringFormatter::send(stream, F("
\n"), opcode); - StringFormatter::lcd(2, F("p%c"), opcode); + LCD(2, F("p%c"), opcode); return; } switch (p[0]) @@ -477,7 +477,7 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream) case HASH_KEYWORD_MAIN: DCCWaveform::mainTrack.setPowerMode(mode); StringFormatter::send(stream, F("
\n"), opcode); - StringFormatter::lcd(2, F("p%c MAIN"), opcode); + LCD(2, F("p%c MAIN"), opcode); return; case HASH_KEYWORD_PROG: @@ -485,7 +485,7 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream) if (mode == POWERMODE::OFF) DCC::setProgTrackBoost(false); // Prog track boost mode will not outlive prog track off StringFormatter::send(stream, F("
\n"), opcode);
- StringFormatter::lcd(2, F("p%c PROG"), opcode);
+ LCD(2, F("p%c PROG"), opcode);
return;
case HASH_KEYWORD_JOIN:
DCCWaveform::mainTrack.setPowerMode(mode);
@@ -494,13 +494,13 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream)
{
DCC::setProgTrackSyncMain(true);
StringFormatter::send(stream, F("