From 6958f029b7457eb6f93455d33fa83ce405005b4e Mon Sep 17 00:00:00 2001 From: Asbelos Date: Thu, 28 Jan 2021 20:55:54 +0000 Subject: [PATCH] Fix no-loco id Has to handle -1 correctly --- DCCEXParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 619af00..a35803e 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -809,7 +809,7 @@ void DCCEXParser::callback_R(int result) void DCCEXParser::callback_Rloco(int result) { - StringFormatter::send(stashStream, F(""), result & 0x3FFF); + StringFormatter::send(stashStream, F(""), result); stashBusy = false; }