summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc14
-rw-r--r--gnuradio-core/src/lib/general/gr_fll_band_edge_cc.h3
2 files changed, 4 insertions, 13 deletions
diff --git a/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc b/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc
index 38d682020..03ce16bd7 100644
--- a/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc
+++ b/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.cc
@@ -122,20 +122,14 @@ gr_fll_band_edge_cc::design_filter(float samps_per_sym, float rolloff, int filte
d_filter_upper = gr_fir_util::create_gr_fir_ccc(vtaps);
d_filter_lower = gr_fir_util::create_gr_fir_ccc(vtaps);
- set_filter_taps(taps_lower, d_filter_lower);
- set_filter_taps(taps_upper, d_filter_upper);
-}
+ d_filter_lower->set_taps(taps_lower);
+ d_filter_upper->set_taps(taps_upper);
-void
-gr_fll_band_edge_cc::set_filter_taps(const std::vector<gr_complex> &taps,
- gr_fir_ccc *filter)
-{
- filter->set_taps(taps);
+ d_updated = true;
// Set the history to ensure enough input items for each filter
- set_history(taps.size()+1);
+ set_history(filter_size+1);
- d_updated = true;
}
void
diff --git a/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.h b/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.h
index 87bf39fd0..584f62610 100644
--- a/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.h
+++ b/gnuradio-core/src/lib/general/gr_fll_band_edge_cc.h
@@ -70,9 +70,6 @@ class gr_fll_band_edge_cc : public gr_sync_block
gr_fll_band_edge_cc(float samps_per_sym, float rolloff,
int filter_size, float alpha, float beta);
- void set_filter_taps (const std::vector<gr_complex> &taps,
- gr_fir_ccc *filter);
-
public:
~gr_fll_band_edge_cc ();