From f528347fd580174ccde9a02b392e6fb546a59adc Mon Sep 17 00:00:00 2001 From: f4exb Date: Thu, 9 Apr 2020 06:33:04 +0200 Subject: [PATCH] AM demod: fixed initialization of squelch counter. Fixes issue #502 --- plugins/channelrx/demodam/amdemodsink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/channelrx/demodam/amdemodsink.cpp b/plugins/channelrx/demodam/amdemodsink.cpp index c0ef9d397..af48ebdc8 100644 --- a/plugins/channelrx/demodam/amdemodsink.cpp +++ b/plugins/channelrx/demodam/amdemodsink.cpp @@ -29,6 +29,7 @@ AMDemodSink::AMDemodSink() : m_channelSampleRate(48000), m_channelFrequencyOffset(0), + m_squelchCount(0), m_squelchOpen(false), m_squelchDelayLine(9600), m_magsqSum(0.0f),