mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
SSB demod: apply clamping also when squelch opens
This commit is contained in:
parent
8e9661f011
commit
31274b1227
@ -171,7 +171,7 @@ void SSBDemodSink::processOneSample(Complex &ci)
|
||||
|
||||
// Prevent overload based on squared magnitude variation
|
||||
// Only if AGC is active
|
||||
if (m_agcActive && m_agcClamping && agcVal > 100.0)
|
||||
if (m_agcActive && m_agcClamping && (agcVal > 100.0 || agcVal == 0.0))
|
||||
{
|
||||
// qDebug("SSBDemodSink::processOneSample: %f", agcVal);
|
||||
m_agc.reset(m_agcTarget*m_agcTarget);
|
||||
|
Loading…
Reference in New Issue
Block a user