1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

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

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;