From 1c354dba4d1470cda5f1c1a86261eac97087fe3b Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 9 May 2018 19:38:26 +0200 Subject: [PATCH] NFM demod: fixed squelch indicator --- plugins/channelrx/demodnfm/nfmdemod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channelrx/demodnfm/nfmdemod.cpp b/plugins/channelrx/demodnfm/nfmdemod.cpp index a75eec537..4ddc77593 100644 --- a/plugins/channelrx/demodnfm/nfmdemod.cpp +++ b/plugins/channelrx/demodnfm/nfmdemod.cpp @@ -224,14 +224,14 @@ void NFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto } } + m_squelchOpen = (m_squelchCount > m_squelchGate); + if (m_settings.m_audioMute) { sample = 0; } else { - m_squelchOpen = (m_squelchCount > m_squelchGate); - if (m_squelchOpen) { if (m_settings.m_ctcssOn)