From 5ff7ced6922e4237e5ba8d2bf9db91ca2fa63fdd Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 12 Dec 2016 01:43:08 +0100 Subject: [PATCH] NFM demod: use instantaneous magnitude squared for squelch trigger (before time gate) --- plugins/channelrx/demodnfm/nfmdemod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demodnfm/nfmdemod.cpp b/plugins/channelrx/demodnfm/nfmdemod.cpp index 4f9babde8..fe84b83ff 100644 --- a/plugins/channelrx/demodnfm/nfmdemod.cpp +++ b/plugins/channelrx/demodnfm/nfmdemod.cpp @@ -172,7 +172,7 @@ void NFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto // AF processing - if (m_magsq > m_squelchLevel) + if (magsq > m_squelchLevel) { if (m_squelchCount < m_squelchGate) {