1
0
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:
Harald Barth 2022-06-11 20:35:52 +02:00
parent 4297ed5572
commit 808aa9aba9
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
#define GITHUB_SHA "TM-PORTX-20220607-1" #define GITHUB_SHA "TM-PORTX-20220611"

View File

@ -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"));