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:
parent
5f539d3ba1
commit
681b679c38
@ -109,7 +109,7 @@ void PacketDemodSink::processOneSample(Complex &ci)
|
|||||||
m_magsqCount++;
|
m_magsqCount++;
|
||||||
|
|
||||||
m_corrBuf[m_corrIdx] = fmDemod;
|
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
|
// Correlate with 1200 + 2200 baud complex exponentials
|
||||||
Complex corrF0 = 0.0f;
|
Complex corrF0 = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user