From 2950ef010a3d19331a7a967b882e54f421c18bf8 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Tue, 18 Jul 2023 01:25:38 +0200 Subject: [PATCH] diag --- GITHUB_SHA.h | 2 +- TrackManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 1bec170..7cdc46f 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202307170741Z" +#define GITHUB_SHA "devel-202307172316Z" diff --git a/TrackManager.cpp b/TrackManager.cpp index a23140c..1725a8d 100644 --- a/TrackManager.cpp +++ b/TrackManager.cpp @@ -190,7 +190,7 @@ void TrackManager::setDCSignal(int16_t cab, byte speedbyte) { bool TrackManager::setTrackMode(byte trackToSet, TRACK_MODE mode, int16_t dcAddr) { if (trackToSet>lastTrack || track[trackToSet]==NULL) return false; - //DIAG(F("Track=%c"),trackToSet+'A'); + DIAG(F("Track=%c Mode=%d"),trackToSet+'A', mode); // DC tracks require a motorDriver that can set brake! if ((mode==TRACK_MODE_DC || mode==TRACK_MODE_DCX) && !track[trackToSet]->brakeCanPWM()) {