1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

Passing Strteamer correctly

Previous method copied entire buffer!!!!
This commit is contained in:
Asbelos
2020-10-26 13:58:25 +00:00
parent 8ff947f895
commit b7fc055953
3 changed files with 11 additions and 10 deletions

View File

@@ -27,5 +27,5 @@ void CommandDistributor::parse(byte clientId,byte * buffer, RingStream * stream
if (!parser) parser = new DCCEXParser();
parser->parse(streamer, buffer, true); // tell JMRI parser that ACKS are blocking because we can't handle the async
}
else WiThrottle::getThrottle(clientId)->parse(*streamer, buffer);
else WiThrottle::getThrottle(clientId)->parse(streamer, buffer);
}