mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -05:00
NFM: Deactivated AF squelch and replaced it by a power level squelch.
Adjusted power value.
This commit is contained in:
parent
9b0d92b35b
commit
4ef4dc9939
@ -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)
|
||||
|
@ -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 {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user