diff --git a/Turnouts.cpp b/Turnouts.cpp index 2eec241..96e0a1d 100644 --- a/Turnouts.cpp +++ b/Turnouts.cpp @@ -79,7 +79,7 @@ void Turnout::show(Print & stream, int n){ bool Turnout::showAll(Print & stream){ bool gotOne=false; for(Turnout * tt=firstTurnout;tt!=NULL;tt=tt->nextTurnout){ - StringFormatter::send(stream,F(""), tt->data.id, tt->data.address, tt->data.subAddress, tt->data.tStatus); + StringFormatter::send(stream,F(""), tt->data.id, tt->data.address, tt->data.subAddress, (tt->data.tStatus & STATUS_ACTIVE)!=0); gotOne=true; } return gotOne;