1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

LCN bugfix

This commit is contained in:
Harald Barth 2023-02-12 20:35:57 +01:00
parent 0b0aba7aef
commit 2ada89f918
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-202301290750Z" #define GITHUB_SHA "devel-202302121935Z"

View File

@ -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

View File

@ -4,7 +4,8 @@
#include "StringFormatter.h" #include "StringFormatter.h"
#define VERSION "4.2.16" #define VERSION "4.2.17"
// 4.2.17 LCN bugfix
// 4.2.16 Move EX-IOExpander servo support to the EX-IOExpander software // 4.2.16 Move EX-IOExpander servo support to the EX-IOExpander software
// 4.2.15 Add basic experimental PWM support to EX-IOExpander // 4.2.15 Add basic experimental PWM support to EX-IOExpander
// EX-IOExpander 0.0.14 minimum required // EX-IOExpander 0.0.14 minimum required