NFM demod: use instantaneous magnitude squared for squelch trigger (before time gate)

This commit is contained in:
f4exb 2016-12-12 01:43:08 +01:00
parent 15d343e32e
commit 5ff7ced692
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{