summaryrefslogtreecommitdiff
path: root/gr-analog/lib/pll_freqdet_cf_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-04-17 13:43:52 -0400
committerTom Rondeau <trondeau@vt.edu>2013-04-29 14:52:56 -0400
commitf3e2e07201c50033bf6c9d0c6a6f068557b4f17f (patch)
tree140b3c2d20a951ffd4abd564c3378ee2e2f9fc7c /gr-analog/lib/pll_freqdet_cf_impl.cc
parent35303ae975a5b1bdecc2492bc96e2b8e89b62a3d (diff)
runtime: converting runtime core to gr namespace, gnuradio include dir.
Diffstat (limited to 'gr-analog/lib/pll_freqdet_cf_impl.cc')
-rw-r--r--gr-analog/lib/pll_freqdet_cf_impl.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-analog/lib/pll_freqdet_cf_impl.cc b/gr-analog/lib/pll_freqdet_cf_impl.cc
index 9e55d9bedb..42caa0bfd5 100644
--- a/gr-analog/lib/pll_freqdet_cf_impl.cc
+++ b/gr-analog/lib/pll_freqdet_cf_impl.cc
@@ -25,9 +25,9 @@
#endif
#include "pll_freqdet_cf_impl.h"
-#include <gr_io_signature.h>
+#include <gnuradio/io_signature.h>
#include <math.h>
-#include <gr_math.h>
+#include <gnuradio/math.h>
namespace gr {
namespace analog {
@@ -44,9 +44,9 @@ namespace gr {
}
pll_freqdet_cf_impl::pll_freqdet_cf_impl(float loop_bw, float max_freq, float min_freq)
- : gr_sync_block("pll_freqdet_cf",
- gr_make_io_signature(1, 1, sizeof(gr_complex)),
- gr_make_io_signature(1, 1, sizeof(float))),
+ : sync_block("pll_freqdet_cf",
+ io_signature::make(1, 1, sizeof(gr_complex)),
+ io_signature::make(1, 1, sizeof(float))),
blocks::control_loop(loop_bw, max_freq, min_freq)
{
}
@@ -70,7 +70,7 @@ namespace gr {
pll_freqdet_cf_impl::phase_detector(gr_complex sample, float ref_phase)
{
float sample_phase;
- sample_phase = gr_fast_atan2f(sample.imag(), sample.real());
+ sample_phase = gr::fast_atan2f(sample.imag(), sample.real());
return mod_2pi(sample_phase - ref_phase);
}