From 683f9d33fed62db95959b51a4b95befc88fa3af5 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Wed, 30 Jun 2021 22:01:18 +0100 Subject: [PATCH] Ignore <+> from wifi or ethernet --- DCCEXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index cfb7219..aae3dce 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -542,7 +542,7 @@ void DCCEXParser::parse(Print *stream, byte *com, RingStream * ringStream) return; case '+': // Complex Wifi interface command (not usual parse) - if (atCommandCallback) { + if (atCommandCallback && !ringStream) { DCCWaveform::mainTrack.setPowerMode(POWERMODE::OFF); DCCWaveform::progTrack.setPowerMode(POWERMODE::OFF); atCommandCallback(com);