Remove magsq check which was far too high for testcase reported in #750

This commit is contained in:
Jon Beniston 2021-06-23 13:14:27 +01:00
parent 5f539d3ba1
commit 681b679c38
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;