1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 00:18:37 -05:00

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

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