- improved compatibility for win
git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@116 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+6
-1
@@ -1,4 +1,5 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <float.h>
|
||||||
#include "Receiver.h"
|
#include "Receiver.h"
|
||||||
#include "MinMaxLemire.h"
|
#include "MinMaxLemire.h"
|
||||||
#include "radio/Interpolation.hpp"
|
#include "radio/Interpolation.hpp"
|
||||||
@@ -740,8 +741,12 @@ void Receiver::initFilterRcf()
|
|||||||
if (RCF_TYPE == RCF_TYPE_POLYPHASE_FARROW)
|
if (RCF_TYPE == RCF_TYPE_POLYPHASE_FARROW)
|
||||||
{
|
{
|
||||||
// Fixed at symbol duration 2/fs
|
// Fixed at symbol duration 2/fs
|
||||||
// -> RCF_ROLLOFF and symbol rate parameter have no influence
|
// -> RCF_ROLLOFF and symbol rate parameter have no influence
|
||||||
|
#ifdef _WINDOWS
|
||||||
|
m_farrow.load("C:\\Users\\jens\\farrow_coeff.dat");
|
||||||
|
#else
|
||||||
m_farrow.load("/home/jens/farrow_coeff.dat");
|
m_farrow.load("/home/jens/farrow_coeff.dat");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,12 @@
|
|||||||
#include <radio/Interpolation.hpp>
|
#include <radio/Interpolation.hpp>
|
||||||
#include <radio/Nco.hpp>
|
#include <radio/Nco.hpp>
|
||||||
|
|
||||||
|
#ifdef _WINDOWS
|
||||||
|
#include <float.h>
|
||||||
|
#define isnan _isnan
|
||||||
|
#define isinf(x) (!_finite(x))
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace Radio;
|
using namespace Radio;
|
||||||
|
|
||||||
// ---------------------------------------------------
|
// ---------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user