1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 18:15:45 -05:00

BFMdemod: solved C++11 compile problem by initializing float constant in .cpp

This commit is contained in:
f4exb 2016-03-21 08:40:42 +01:00
parent 9eee3fd869
commit a957d99f67
3 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,6 @@ include_directories(
${OPENGL_INCLUDE_DIR}
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)

View File

@ -29,6 +29,8 @@
MESSAGE_CLASS_DEFINITION(BFMDemod::MsgConfigureBFMDemod, Message)
const Real BFMDemod::default_deemphasis = 50.0; // 50 us
BFMDemod::BFMDemod(SampleSink* sampleSink, RDSParser *rdsParser) :
m_sampleSink(sampleSink),
m_rdsParser(rdsParser),

View File

@ -214,7 +214,7 @@ private:
LowPassFilterRC m_deemphasisFilterX;
LowPassFilterRC m_deemphasisFilterY;
static const Real default_deemphasis = 50.0; // 50 us
static const Real default_deemphasis;
Real m_fmExcursion;
static const int default_excursion = 750000; // +/- 75 kHz