mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
remove diag
This commit is contained in:
parent
cafd53a0e5
commit
43fe772661
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user