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:
parent
9eee3fd869
commit
a957d99f67
@ -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)
|
||||
|
@ -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),
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user