From 787bf09ed1577140581df05191c740a6bca552e8 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Mon, 9 Oct 2023 17:45:33 +0100 Subject: [PATCH] A few bits --- DCCEXParser.cpp | 2 +- EXRAIL2.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 1614376..5d9c3b5 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -121,7 +121,7 @@ Once a new OPCODE is decided upon, update this list. for (int16_t i=0;;i+=sizeof(flashList[0])) { \ int16_t value=GETHIGHFLASHW(flashList,i); \ if (value==INT16_MAX) break; \ - if (value != 0) StringFormatter::send(stream,F(" %d"),value); \ + StringFormatter::send(stream,F(" %d"),value); \ } diff --git a/EXRAIL2.h b/EXRAIL2.h index 951826c..6e24ead 100644 --- a/EXRAIL2.h +++ b/EXRAIL2.h @@ -91,9 +91,10 @@ enum thrunger: byte { thrunge_lcd, // Must be last!! }; - // Flag bits for compile time feature + // Flag bits for compile time features. static const byte FEATURE_SIGNAL= 0x80; static const byte FEATURE_LCC = 0x40; + static const byte FEATURE_ROSTER= 0x20; // Flag bits for status of hardware and TPL