1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 13:21:23 +01:00

remove diag

This commit is contained in:
Harald Barth 2024-12-22 23:13:53 +01:00
parent cafd53a0e5
commit 43fe772661

View File

@ -361,7 +361,7 @@ bool TrackManager::setTrackMode(byte trackToSet, TRACK_MODE mode, int16_t dcAddr
if (tempProgTrack == trackToSet && oldmode & TRACK_MODE_MAIN && !(mode & TRACK_MODE_PROG)) { if (tempProgTrack == trackToSet && oldmode & TRACK_MODE_MAIN && !(mode & TRACK_MODE_PROG)) {
// If we just take away the prog track, the join should not // If we just take away the prog track, the join should not
// be active either. So do in effect an unjoin // be active either. So do in effect an unjoin
DIAG(F("Unsync")); //DIAG(F("Unsync"));
tempProgTrack = MAX_TRACKS+1; tempProgTrack = MAX_TRACKS+1;
progTrackSyncMain=false; progTrackSyncMain=false;
if (joinRelay!=UNUSED_PIN) digitalWrite(joinRelay,LOW); if (joinRelay!=UNUSED_PIN) digitalWrite(joinRelay,LOW);