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

Make <T nn ?> return long config print

This commit is contained in:
Harald Barth 2022-11-04 23:43:26 +01:00
parent c0cb643cb5
commit a199de6d3e
2 changed files with 8 additions and 3 deletions

View File

@ -751,8 +751,13 @@ bool DCCEXParser::parseT(Print *stream, int16_t params, int16_t p[])
case HASH_KEYWORD_T: case HASH_KEYWORD_T:
state= false; state= false;
break; break;
default: default: // any other parameter prints the long status
return false; // Invalid parameter Turnout *tt = Turnout::get(p[0]);
if (tt) {
tt->print(stream);
break;
}
return false;
} }
if (!Turnout::setClosed(p[0], state)) return false; if (!Turnout::setClosed(p[0], state)) return false;

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202211042214Z" #define GITHUB_SHA "devel-202211042235Z"