From e78c2f97945162b80ca4173bb457f5cb03c674eb Mon Sep 17 00:00:00 2001 From: Asbelos Date: Sun, 27 Oct 2024 14:30:48 +0000 Subject: [PATCH] esp32 railcom references Unused but needed to satisfy other code! --- DCCWaveform.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/DCCWaveform.cpp b/DCCWaveform.cpp index 6744f4d..919deee 100644 --- a/DCCWaveform.cpp +++ b/DCCWaveform.cpp @@ -279,8 +279,14 @@ DCCWaveform DCCWaveform::mainTrack(PREAMBLE_BITS_MAIN, true); DCCWaveform DCCWaveform::progTrack(PREAMBLE_BITS_PROG, false); RMTChannel *DCCWaveform::rmtMainChannel = NULL; RMTChannel *DCCWaveform::rmtProgChannel = NULL; -volatile bool DCCWaveform::railcomSampleWindow=false; // true during packet transmit +bool DCCWaveform::railcomPossible=false; // High accuracy only +volatile bool DCCWaveform::railcomActive=false; // switched on by user +volatile bool DCCWaveform::railcomDebug=false; // switched on by user +volatile bool DCCWaveform::railcomSampleWindow=false; // true during packet transmit +volatile byte DCCWaveform::railcomCutoutCounter=0; // cyclic cutout +volatile byte DCCWaveform::railcomLastAddressHigh=0; +volatile byte DCCWaveform::railcomLastAddressLow=0; DCCWaveform::DCCWaveform(byte preambleBits, bool isMain) { isMainTrack = isMain;