From 73b532508587a6b1d10ba65c448ba2b6ab85b0a7 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Fri, 11 Dec 2020 19:03:05 +0100 Subject: [PATCH] better speed step comment --- DCCEXParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 3d3bed6..176e09c 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -272,7 +272,8 @@ void DCCEXParser::parse(Print *stream, byte *com, bool blocking) else break; - // Convert JMRI bizarre -1=emergency stop, 0-126 as speeds + // Convert DCC-EX protocol speed steps where + // -1=emergency stop, 0-126 as speeds // to DCC 0=stop, 1= emergency stop, 2-127 speeds if (tspeed > 126 || tspeed < -1) break; // invalid JMRI speed code