1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 04:41:24 +01:00

LCN bugfix

This commit is contained in:
Harald Barth 2023-02-12 20:38:03 +01:00
parent 7e4f9eb0e1
commit 7311f2ce64
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ void LCN::loop() {
while (stream->available()) {
int ch = stream->read();
if (ch >= 0 && ch <= '9') { // accumulate id value
if (ch >= '0' && ch <= '9') { // accumulate id value
id = 10 * id + ch - '0';
}
else if (ch == 't' || ch == 'T') { // Turnout opcodes

View File

@ -3,7 +3,8 @@
#include "StringFormatter.h"
#define VERSION "4.1.4"
#define VERSION "4.1.5"
// 4.1.5 Bugfix LCN number parsing
// 4.1.4 Bugfix for issue #299 TurnoutDescription NULL
// 4.1.3 Bugfix: Ethernet init order
// 4.1.2 Bugfix: Ethernet shield W5100 does not report HW or link level