From f3e2e07201c50033bf6c9d0c6a6f068557b4f17f Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Wed, 17 Apr 2013 13:43:52 -0400 Subject: runtime: converting runtime core to gr namespace, gnuradio include dir. --- gr-analog/lib/pll_freqdet_cf_impl.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gr-analog/lib/pll_freqdet_cf_impl.cc') 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); } -- cgit v1.2.3