mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-25 00:56:13 +01:00
Compare commits
1 Commits
1618558a86
...
b50dbba5e4
Author | SHA1 | Date | |
---|---|---|---|
|
b50dbba5e4 |
|
@ -121,7 +121,7 @@ Once a new OPCODE is decided upon, update this list.
|
||||||
for (int16_t i=0;;i+=sizeof(flashList[0])) { \
|
for (int16_t i=0;;i+=sizeof(flashList[0])) { \
|
||||||
int16_t value=GETHIGHFLASHW(flashList,i); \
|
int16_t value=GETHIGHFLASHW(flashList,i); \
|
||||||
if (value==INT16_MAX) break; \
|
if (value==INT16_MAX) break; \
|
||||||
StringFormatter::send(stream,F(" %d"),value); \
|
if (value != 0) StringFormatter::send(stream,F(" %d"),value); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -729,15 +729,11 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream)
|
||||||
SENDFLASHLIST(stream,RMFT2::rosterIdList)
|
SENDFLASHLIST(stream,RMFT2::rosterIdList)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
auto rosterName= RMFT2::getRosterName(id);
|
const FSH * functionNames= RMFT2::getRosterFunctions(id);
|
||||||
if (!rosterName) rosterName=F("");
|
StringFormatter::send(stream,F(" %d \"%S\" \"%S\""),
|
||||||
|
id, RMFT2::getRosterName(id),
|
||||||
auto functionNames= RMFT2::getRosterFunctions(id);
|
functionNames == NULL ? RMFT2::getRosterFunctions(0) : functionNames);
|
||||||
if (!functionNames) functionNames=RMFT2::getRosterFunctions(0);
|
}
|
||||||
if (!functionNames) functionNames=F("");
|
|
||||||
StringFormatter::send(stream,F(" %d \"%S\" \"%S\""),
|
|
||||||
id, rosterName, functionNames);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
StringFormatter::send(stream, F(">\n"));
|
StringFormatter::send(stream, F(">\n"));
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
|
|
||||||
#include "StringFormatter.h"
|
#include "StringFormatter.h"
|
||||||
|
|
||||||
#define VERSION "5.0.4"
|
#define VERSION "5.0.3"
|
||||||
// 5.0.4 - Bugfix: <JR> misses default roster.
|
|
||||||
// 5.0.3 - Check bad AT firmware version
|
// 5.0.3 - Check bad AT firmware version
|
||||||
// 5.0.2 - Bugfix: ESP32 30ms off time
|
// 5.0.2 - Bugfix: ESP32 30ms off time
|
||||||
// 5.0.1 - Bugfix: execute 30ms off time before rejoin
|
// 5.0.1 - Bugfix: execute 30ms off time before rejoin
|
||||||
|
|
Loading…
Reference in New Issue
Block a user