From 4739bb16ffccd3d1db2a374f1c638fe92f8f5f6b Mon Sep 17 00:00:00 2001 From: Asbelos Date: Tue, 1 Oct 2024 12:32:58 +0100 Subject: [PATCH] Fix ESP32 compile error --- DCCWaveform.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DCCWaveform.cpp b/DCCWaveform.cpp index 3247c05..b4c812d 100644 --- a/DCCWaveform.cpp +++ b/DCCWaveform.cpp @@ -267,6 +267,8 @@ 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 + DCCWaveform::DCCWaveform(byte preambleBits, bool isMain) { isMainTrack = isMain;