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

better bugfix for bitfield in turnout struct

This commit is contained in:
Harald Barth 2022-05-07 08:47:34 +02:00
parent e13afd064d
commit 589336eac3
2 changed files with 7 additions and 4 deletions

View File

@ -60,9 +60,9 @@ protected:
union {
struct {
bool closed : 1;
bool _rfu: 2;
uint8_t turnoutType : 4;
bool hidden: 1;
bool hidden : 1;
bool _rfu : 1;
uint8_t turnoutType : 5;
};
uint8_t flags;
};

View File

@ -4,7 +4,10 @@
#include "StringFormatter.h"
#define VERSION "4.1.0"
#define VERSION "4.1.1rc1"
// 4.1.1 Bugfix: preserve turnout format
// 4.1.0 ...
//
// 4.0.2 EXRAIL additions:
// ACK defaults set to 50mA LIMIT, 2000uS MIN, 20000uS MAX
// myFilter automatic detection (no need to call setFilter)