From 2738d8643175cc4059c4bf0a588941fbf57add15 Mon Sep 17 00:00:00 2001 From: Kcsmith0708 Date: Wed, 10 Apr 2024 13:39:53 -0400 Subject: [PATCH 1/4] Update DCCEXParser.cpp Virtual LCD#0 line 8 "Powered by DCC-EX" --- DCCEXParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index b9ac3a9..5ad671c 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -809,7 +809,8 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream) CommandDistributor::setVirtualLCDSerial(stream); StringFormatter::send(stream, F("<@ 0 0 \"DCC-EX v" VERSION "\">\n" - "<@ 0 1 \"Lic GPLv3\">\n")); + "<@ 0 1 \"Lic GPLv3 \">\n" + "<@ 0 8 \"Powered by DCC-EX \">\n")); return; #endif default: //anything else will diagnose and drop out to From 7cc3cf9c65bbac683fe5545a5f424b63000e2f5d Mon Sep 17 00:00:00 2001 From: Kcsmith0708 Date: Fri, 12 Apr 2024 13:16:44 -0400 Subject: [PATCH 2/4] Update DCCEXParser.cpp Added setVirtualLCDSerial(Null); to stop the <@ responses from streaming through the serial monitor --- DCCEXParser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 5ad671c..d7b4150 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -811,6 +811,7 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream) F("<@ 0 0 \"DCC-EX v" VERSION "\">\n" "<@ 0 1 \"Lic GPLv3 \">\n" "<@ 0 8 \"Powered by DCC-EX \">\n")); + CommandDistributor::setVirtualLCDSerial(NULL); return; #endif default: //anything else will diagnose and drop out to From 7bd1bae470f1904b42088b2d5e9c09c10f319ab5 Mon Sep 17 00:00:00 2001 From: Kcsmith0708 Date: Fri, 12 Apr 2024 13:18:47 -0400 Subject: [PATCH 3/4] Update DCCEXParser.cpp --- DCCEXParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index d7b4150..fb9d4a2 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -810,8 +810,8 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream) StringFormatter::send(stream, F("<@ 0 0 \"DCC-EX v" VERSION "\">\n" "<@ 0 1 \"Lic GPLv3 \">\n" - "<@ 0 8 \"Powered by DCC-EX \">\n")); - CommandDistributor::setVirtualLCDSerial(NULL); + "<@ 0 8 \"Powered by DCC-EX \">\n" + CommandDistributor::setVirtualLCDSerial(NULL)); return; #endif default: //anything else will diagnose and drop out to From 5d411e6a084c05f50beabf75a11bf44350f41fda Mon Sep 17 00:00:00 2001 From: Kcsmith0708 Date: Fri, 12 Apr 2024 16:28:11 -0400 Subject: [PATCH 4/4] Update DCCEXParser.cpp edited out extra paren ) --- DCCEXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index fb9d4a2..2c78951 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -811,7 +811,7 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream) F("<@ 0 0 \"DCC-EX v" VERSION "\">\n" "<@ 0 1 \"Lic GPLv3 \">\n" "<@ 0 8 \"Powered by DCC-EX \">\n" - CommandDistributor::setVirtualLCDSerial(NULL)); + CommandDistributor::setVirtualLCDSerial(NULL); return; #endif default: //anything else will diagnose and drop out to