1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 04:41:24 +01:00
This commit is contained in:
Harald Barth 2023-07-18 01:25:38 +02:00
parent c2eb5f23b4
commit 2950ef010a
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202307170741Z"
#define GITHUB_SHA "devel-202307172316Z"

View File

@ -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()) {