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

pull/935/head
Jon Beniston 2021-06-23 13:14:27 +01:00
rodzic 5f539d3ba1
commit 681b679c38
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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