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

NFM: Deactivated AF squelch and replaced it by a power level squelch.

Adjusted power value.
This commit is contained in:
f4exb 2015-10-06 09:28:08 +02:00
parent 9b0d92b35b
commit 4ef4dc9939
3 changed files with 6 additions and 3 deletions

View File

@ -172,10 +172,13 @@ void NFMDemod::feed(const SampleVector::const_iterator& begin, const SampleVecto
// AF processing
squelchOpen = (getMagSq() > m_squelchLevel);
/*
if (m_afSquelch.analyze(demod))
{
squelchOpen = m_afSquelch.evaluate();
}
}*/
if (squelchOpen)
//if (m_AGC.getAverage() > m_squelchLevel)

View File

@ -64,7 +64,7 @@ public:
m_ctcssIndexSelected = selectedCtcssIndex;
}
Real getMagSq() { return m_AGC.getAverage() / (1<<7); }
Real getMagSq() { return m_AGC.getAverage() / 4534.0; }
private:
class MsgConfigureNFMDemod : public Message {

View File

@ -287,7 +287,7 @@
<string>Threshold min/max in dB</string>
</property>
<property name="minimum">
<number>-200</number>
<number>-1000</number>
</property>
<property name="maximum">
<number>0</number>