1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 04:41:24 +01:00

Send default function list in jR as well

This commit is contained in:
Harald Barth 2023-05-25 10:29:01 +02:00
parent 803b996e0b
commit db0e0cbf8b
3 changed files with 8 additions and 4 deletions

View File

@ -652,8 +652,12 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream)
if (params==1) {
SENDFLASHLIST(stream,RMFT2::rosterIdList)
}
else StringFormatter::send(stream,F(" %d \"%S\" \"%S\""),
id, RMFT2::getRosterName(id), RMFT2::getRosterFunctions(id));
else {
const FSH * functionNames= RMFT2::getRosterFunctions(id);
StringFormatter::send(stream,F(" %d \"%S\" \"%S\""),
id, RMFT2::getRosterName(id),
functionNames == NULL ? RMFT2::getRosterFunctions(0) : functionNames);
}
#endif
StringFormatter::send(stream, F(">\n"));
return;

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202305250729Z"
#define GITHUB_SHA "devel-202305250828Z"

View File

@ -4,7 +4,7 @@
#include "StringFormatter.h"
#define VERSION "4.2.54pre2"
#define VERSION "4.2.54pre3"
// 4.2.54 - Fix: Pin handling supports pins up to 254
// 4.2.53 - Fix: Fault pin handling made more straight forward
// 4.2.52 - Experimental support for sabertooth motor controller on ESP32