mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
show high accuracy status with track mode
This commit is contained in:
parent
4297ed5572
commit
808aa9aba9
|
@ -1 +1 @@
|
||||||
#define GITHUB_SHA "TM-PORTX-20220607-1"
|
#define GITHUB_SHA "TM-PORTX-20220611"
|
||||||
|
|
|
@ -235,9 +235,13 @@ bool TrackManager::parseJ(Print *stream, int16_t params, int16_t p[])
|
||||||
switch(trackMode[t]) {
|
switch(trackMode[t]) {
|
||||||
case TRACK_MODE_MAIN:
|
case TRACK_MODE_MAIN:
|
||||||
StringFormatter::send(stream,F("MAIN"));
|
StringFormatter::send(stream,F("MAIN"));
|
||||||
|
if (track[t]->trackPWM)
|
||||||
|
StringFormatter::send(stream,F("+"));
|
||||||
break;
|
break;
|
||||||
case TRACK_MODE_PROG:
|
case TRACK_MODE_PROG:
|
||||||
StringFormatter::send(stream,F("PROG"));
|
StringFormatter::send(stream,F("PROG"));
|
||||||
|
if (track[t]->trackPWM)
|
||||||
|
StringFormatter::send(stream,F("+"));
|
||||||
break;
|
break;
|
||||||
case TRACK_MODE_OFF:
|
case TRACK_MODE_OFF:
|
||||||
StringFormatter::send(stream,F("OFF"));
|
StringFormatter::send(stream,F("OFF"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user