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
commit fd8577cc60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;