mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-28 09:53:45 +02:00
Passing outbound Ring to Withrottle
This will allow Withrottle to send to other clients and broadcast messages.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
DCCEXParser * CommandDistributor::parser=0;
|
||||
|
||||
void CommandDistributor::parse(byte clientId,byte * buffer, Print * streamer) {
|
||||
void CommandDistributor::parse(byte clientId,byte * buffer, RingStream * streamer) {
|
||||
if (buffer[0] == '<') {
|
||||
if (!parser) parser = new DCCEXParser();
|
||||
parser->parse(streamer, buffer, true); // tell JMRI parser that ACKS are blocking because we can't handle the async
|
||||
|
Reference in New Issue
Block a user