Skip to content

Commit

Permalink
LCN bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
habazut committed Feb 12, 2023
1 parent 7e4f9eb commit 7311f2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LCN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7311f2c

Please sign in to comment.