mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
LCN bugfix
This commit is contained in:
parent
7e4f9eb0e1
commit
7311f2ce64
2
LCN.cpp
2
LCN.cpp
|
@ -43,7 +43,7 @@ void LCN::loop() {
|
||||||
|
|
||||||
while (stream->available()) {
|
while (stream->available()) {
|
||||||
int ch = stream->read();
|
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';
|
id = 10 * id + ch - '0';
|
||||||
}
|
}
|
||||||
else if (ch == 't' || ch == 'T') { // Turnout opcodes
|
else if (ch == 't' || ch == 'T') { // Turnout opcodes
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include "StringFormatter.h"
|
#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.4 Bugfix for issue #299 TurnoutDescription NULL
|
||||||
// 4.1.3 Bugfix: Ethernet init order
|
// 4.1.3 Bugfix: Ethernet init order
|
||||||
// 4.1.2 Bugfix: Ethernet shield W5100 does not report HW or link level
|
// 4.1.2 Bugfix: Ethernet shield W5100 does not report HW or link level
|
||||||
|
|
Loading…
Reference in New Issue
Block a user