mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-01 12:37:11 -05:00
Merge pull request #935 from srcejon/fix_750_magsq
Improve packet demod performance
This commit is contained in:
commit
fd8577cc60
@ -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