commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/09: digital: update control loop frequen


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/09: digital: update control loop frequency limits in fll_band_edge_cc when samps_per_sym is changed
Date: Wed, 4 Feb 2015 21:59:34 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 223390736b5be4aa1cc2601f2c4d54961f05e9d1
Author: Sean Nowlan <address@hidden>
Date:   Tue Feb 3 08:20:28 2015 -0500

    digital: update control loop frequency limits in fll_band_edge_cc when 
samps_per_sym is changed
---
 gr-digital/lib/fll_band_edge_cc_impl.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gr-digital/lib/fll_band_edge_cc_impl.cc 
b/gr-digital/lib/fll_band_edge_cc_impl.cc
index 583e8f5..0ec8af5 100644
--- a/gr-digital/lib/fll_band_edge_cc_impl.cc
+++ b/gr-digital/lib/fll_band_edge_cc_impl.cc
@@ -101,6 +101,8 @@ namespace gr {
        throw std::out_of_range("fll_band_edge_cc: invalid number of sps. Must 
be > 0.");
       }
       d_sps = sps;
+      set_max_freq(M_TWOPI*(2.0/sps));
+      set_min_freq(-M_TWOPI*(2.0/sps));
       design_filter(d_sps, d_rolloff, d_filter_size);
     }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]