mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-01-11 13:21:01 +01:00
Parse with < bug
This commit is contained in:
parent
ff881790ac
commit
2fbbbfc8bd
@ -132,9 +132,8 @@ void DCCEXParser::parse(Print & stream, const byte *com, bool banAsync) {
|
||||
asyncBanned=banAsync;
|
||||
(void) EEPROM; // tell compiler not to warn thi is unused
|
||||
int p[MAX_PARAMS];
|
||||
while (com[0]=='<' || com[0]==' ') com++; // strip off any number of < or spaces
|
||||
byte params=splitValues(p, com);
|
||||
|
||||
if (com[0]=='<') com++;
|
||||
byte opcode=com[0];
|
||||
|
||||
if (filterCallback) filterCallback(stream,opcode,params,p);
|
||||
|
Loading…
Reference in New Issue
Block a user