mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
NFM demod: fixed squelch indicator
This commit is contained in:
parent
625f0eb72c
commit
1c354dba4d
@ -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)
|
if (m_settings.m_audioMute)
|
||||||
{
|
{
|
||||||
sample = 0;
|
sample = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_squelchOpen = (m_squelchCount > m_squelchGate);
|
|
||||||
|
|
||||||
if (m_squelchOpen)
|
if (m_squelchOpen)
|
||||||
{
|
{
|
||||||
if (m_settings.m_ctcssOn)
|
if (m_settings.m_ctcssOn)
|
||||||
|
Loading…
Reference in New Issue
Block a user