Skip to content

Commit c3e7424

Browse files
committed
ESP32: global railcom always on
1 parent e1f46c6 commit c3e7424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DCCWaveformRMT.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ DCCWaveform DCCWaveform::progTrack(PREAMBLE_BITS_PROG, false);
3333
RMTChannel *DCCWaveform::rmtMainChannel = NULL;
3434
RMTChannel *DCCWaveform::rmtProgChannel = NULL;
3535

36-
bool DCCWaveform::railcomPossible=false; // High accuracy only
37-
volatile bool DCCWaveform::railcomActive=false; // switched on by user
36+
bool DCCWaveform::railcomPossible=true; // ESP32 always possible
37+
volatile bool DCCWaveform::railcomActive=true; // ESP32 switched on by user per track, global always on
3838

3939
DCCWaveform::DCCWaveform(byte preambleBits, bool isMain) {
4040
isMainTrack = isMain;

0 commit comments

Comments
 (0)