- initial version

git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@14 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-09-24 17:21:29 +00:00
parent 18b4fa3b5c
commit 2bf059a84a
6 changed files with 39 additions and 8 deletions
+17
View File
@@ -1003,9 +1003,26 @@ void Receiver::processPassband(float *pRF, uint32_t len)
const ScopedLock sl (m_lock);
uint32_t len_down;
float test4normal;
if (!m_ReceiverEnable)
{
return;
}
test4normal = 0;
for (uint32_t i=0; i < len; i++)
{
test4normal += pRF[i];
}
if (isnan(test4normal))
{
return;
}
if (dabs(test4normal/len) > 10)
{
return;
}
SlidingVarProcessV(&m_statistics.RF, pRF, len);