summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/hier
diff options
context:
space:
mode:
authorMartin Braun2010-12-10 17:30:01 +0100
committerMartin Braun2010-12-10 17:30:01 +0100
commitb12498643aa5c11a35a484925c565a7a9e746f75 (patch)
tree10fd20ef85be944814b16a75ef2c855965913513 /gnuradio-core/src/lib/hier
parent67e6c7e9a9420f2fc5ee14cee862412aad24b89f (diff)
downloadgnuradio-b12498643aa5c11a35a484925c565a7a9e746f75.tar.gz
gnuradio-b12498643aa5c11a35a484925c565a7a9e746f75.tar.bz2
gnuradio-b12498643aa5c11a35a484925c565a7a9e746f75.zip
fixed: FM sensitivity and calling gr_cpm::phase_response() through SWIG
Diffstat (limited to 'gnuradio-core/src/lib/hier')
-rw-r--r--gnuradio-core/src/lib/hier/gr_cpmmod_bc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/hier/gr_cpmmod_bc.cc b/gnuradio-core/src/lib/hier/gr_cpmmod_bc.cc
index d14deee34..24c25e22f 100644
--- a/gnuradio-core/src/lib/hier/gr_cpmmod_bc.cc
+++ b/gnuradio-core/src/lib/hier/gr_cpmmod_bc.cc
@@ -42,7 +42,7 @@ gr_cpmmod_bc::gr_cpmmod_bc(gr_cpm::cpm_type type, float h, unsigned samples_per_
d_taps(gr_cpm::phase_response(type, samples_per_sym, L, beta)),
d_char_to_float(gr_make_char_to_float()),
d_pulse_shaper(gr_make_interp_fir_filter_fff(samples_per_sym, d_taps)),
- d_fm(gr_make_frequency_modulator_fc(M_TWOPI * h / samples_per_sym))
+ d_fm(gr_make_frequency_modulator_fc(M_PI * h))
{
switch (type) {
case gr_cpm::LRC: