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