1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-13 23:13:49 -04:00

Merge pull request #935 from srcejon/fix_750_magsq

Improve packet demod performance
This commit is contained in:
Edouard Griffiths
2021-06-23 15:54:24 +02:00
committed by GitHub
@@ -109,7 +109,7 @@ void PacketDemodSink::processOneSample(Complex &ci)
m_magsqCount++;
m_corrBuf[m_corrIdx] = fmDemod;
if (m_corrCnt >= m_correlationLength && magsq > 1e-7)
if (m_corrCnt >= m_correlationLength)
{
// Correlate with 1200 + 2200 baud complex exponentials
Complex corrF0 = 0.0f;