mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-28 09:53:45 +02:00
RTFM not the comments
Comments have a horrible habit of getting out of date.
This commit is contained in:
@@ -49,10 +49,13 @@ void Turnout::show(Stream & stream, int n){
|
||||
}
|
||||
}
|
||||
|
||||
void Turnout::showAll(Stream & stream){
|
||||
bool Turnout::showAll(Stream & stream){
|
||||
bool gotOne=false;
|
||||
for(Turnout * tt=firstTurnout;tt!=NULL;tt=tt->nextTurnout){
|
||||
StringParser::send(stream,F("<H %d %d %d %d>"), tt->data.id, tt->data.address, tt->data.subAddress, tt->data.tStatus);
|
||||
}
|
||||
gotOne=true;
|
||||
}
|
||||
return gotOne;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user