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

Serial/SerialUSB cleanup

This commit is contained in:
Asbelos
2022-07-08 15:52:46 +01:00
parent 9768083bfe
commit 3681f0e445
7 changed files with 18 additions and 39 deletions

View File

@@ -183,7 +183,7 @@ void DCCEXParser::parse(const FSH * cmd) {
int size=strlen_P((char *)cmd)+1;
char buffer[size];
strcpy_P(buffer,(char *)cmd);
parse(&Serial,(byte *)buffer,NULL);
parse(&USB_SERIAL,(byte *)buffer,NULL);
}
// See documentation on DCC class for info on this section