mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
better bugfix for bitfield in turnout struct
This commit is contained in:
parent
e13afd064d
commit
589336eac3
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user