NFM demod: fixed squelch indicator

This commit is contained in:
f4exb 2018-05-09 19:38:26 +02:00
parent 625f0eb72c
commit 1c354dba4d
1 changed files with 2 additions and 2 deletions

View File

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