From 808aa9aba9f20ec3c9114083c94e89b2be5d8ffa Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 11 Jun 2022 20:35:52 +0200 Subject: [PATCH] show high accuracy status with track mode --- GITHUB_SHA.h | 2 +- TrackManager.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 8f67bc8..6ab40db 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "TM-PORTX-20220607-1" +#define GITHUB_SHA "TM-PORTX-20220611" diff --git a/TrackManager.cpp b/TrackManager.cpp index 7265b95..2cf7fcb 100644 --- a/TrackManager.cpp +++ b/TrackManager.cpp @@ -235,9 +235,13 @@ bool TrackManager::parseJ(Print *stream, int16_t params, int16_t p[]) switch(trackMode[t]) { case TRACK_MODE_MAIN: StringFormatter::send(stream,F("MAIN")); + if (track[t]->trackPWM) + StringFormatter::send(stream,F("+")); break; case TRACK_MODE_PROG: StringFormatter::send(stream,F("PROG")); + if (track[t]->trackPWM) + StringFormatter::send(stream,F("+")); break; case TRACK_MODE_OFF: StringFormatter::send(stream,F("OFF"));