mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
Make <T nn ?> return long config print
This commit is contained in:
parent
c0cb643cb5
commit
a199de6d3e
@ -751,8 +751,13 @@ bool DCCEXParser::parseT(Print *stream, int16_t params, int16_t p[])
|
||||
case HASH_KEYWORD_T:
|
||||
state= false;
|
||||
break;
|
||||
default:
|
||||
return false; // Invalid parameter
|
||||
default: // any other parameter prints the long status
|
||||
Turnout *tt = Turnout::get(p[0]);
|
||||
if (tt) {
|
||||
tt->print(stream);
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (!Turnout::setClosed(p[0], state)) return false;
|
||||
|
||||
|
@ -1 +1 @@
|
||||
#define GITHUB_SHA "devel-202211042214Z"
|
||||
#define GITHUB_SHA "devel-202211042235Z"
|
||||
|
Loading…
Reference in New Issue
Block a user