1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Fix RSSI calculation in DSD and Navtex

This commit is contained in:
Jon Beniston 2023-09-04 09:34:09 +01:00
parent ba01da7827
commit ad2bb38bfc
2 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,8 @@ void DSCDemodSink::receiveBit(bool bit)
m_dscDecoder.init(m_phasingPatterns[i].m_offset);
m_gotSOP = true;
m_bitCount = 0;
m_rssiMagSqSum = 0.0;
m_rssiMagSqCount = 0;
break;
}
}

View File

@ -329,6 +329,8 @@ void NavtexDemodSink::receiveBit(bool bit)
m_gotSOP = true;
m_bitCount = 0;
m_sitorBDecoder.init();
m_rssiMagSqSum = 0.0;
m_rssiMagSqCount = 0;
}
else
{