From da451d5d8b85cde797658415f0186d248f2f53dd Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 6 Oct 2009 19:44:58 -0700 Subject: [PATCH] Fixing previous checkin --- .../src/lib/filter/gr_pfb_clock_sync_ccf.h | 2 +- gnuradio-examples/grc/demod/pam_timing.grc | 112 +++++++++--------- grc/blocks/gr_pfb_clock_sync.xml | 3 +- 3 files changed, 59 insertions(+), 58 deletions(-) diff --git a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h index 5a606193..14e95869 100644 --- a/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h +++ b/gnuradio-core/src/lib/filter/gr_pfb_clock_sync_ccf.h @@ -99,7 +99,7 @@ public: void print_diff_taps(); void set_alpha(float alpha) - { + { d_alpha = alpha; } void set_beta(float beta) diff --git a/gnuradio-examples/grc/demod/pam_timing.grc b/gnuradio-examples/grc/demod/pam_timing.grc index 4152d79a..fae16841 100644 --- a/gnuradio-examples/grc/demod/pam_timing.grc +++ b/gnuradio-examples/grc/demod/pam_timing.grc @@ -1,6 +1,6 @@ - Tue Oct 6 19:23:45 2009 + Tue Oct 6 19:43:52 2009 options @@ -665,61 +665,6 @@ 0 - - variable_slider - - id - interpratio - - - _enabled - True - - - label - - - - value - 1 - - - min - 0 - - - max - 2 - - - num_steps - 1000 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - - - - _coordinate - (232, 921) - - - _rotation - 0 - - wxgui_scopesink2 @@ -1050,6 +995,61 @@ 0 + + variable_slider + + id + interpratio + + + _enabled + True + + + label + + + + value + 1 + + + min + 0 + + + max + 2 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (232, 921) + + + _rotation + 0 + + random_source_x_0 gr_uchar_to_float_0 diff --git a/grc/blocks/gr_pfb_clock_sync.xml b/grc/blocks/gr_pfb_clock_sync.xml index c9487f52..e62ab84a 100644 --- a/grc/blocks/gr_pfb_clock_sync.xml +++ b/grc/blocks/gr_pfb_clock_sync.xml @@ -10,7 +10,8 @@ from gnuradio import gr gr.pfb_clock_sync_ccf($sps, $alpha, $taps, $filter_size, $init_phase) set_taps($taps) - set_gain($gain) + set_alpha($alpha) + set_beta($beta) Samples/Symbol -- 2.30.2