diff options
Diffstat (limited to 'gr-pager/python')
-rw-r--r-- | gr-pager/python/CMakeLists.txt | 2 | ||||
-rw-r--r-- | gr-pager/python/flex_demod.py | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gr-pager/python/CMakeLists.txt b/gr-pager/python/CMakeLists.txt index c0e1b1be13..7afe81b03d 100644 --- a/gr-pager/python/CMakeLists.txt +++ b/gr-pager/python/CMakeLists.txt @@ -44,6 +44,6 @@ foreach(py_qa_test_file ${py_qa_test_files}) ${CMAKE_BINARY_DIR}/gr-pager/swig ) set(GR_TEST_TARGET_DEPS volk gruel gnuradio-core gnuradio-pager) - GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${py_qa_test_file}) + GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file}) endforeach(py_qa_test_file) endif(ENABLE_TESTING) diff --git a/gr-pager/python/flex_demod.py b/gr-pager/python/flex_demod.py index 4146695f87..853348e4b0 100644 --- a/gr-pager/python/flex_demod.py +++ b/gr-pager/python/flex_demod.py @@ -19,7 +19,8 @@ # Boston, MA 02110-1301, USA. # -from gnuradio import gr, gru, optfir, blks2 +from gnuradio import gr, gru, blks2 +from gnuradio import analog from math import pi import pager_swig @@ -38,7 +39,7 @@ class flex_demod(gr.hier_block2): gr.io_signature(0,0,0)) k = 25000/(2*pi*1600) # 4800 Hz max deviation - quad = gr.quadrature_demod_cf(k) + quad = analog.quadrature_demod_cf(k) self.connect(self, quad) rsamp = blks2.rational_resampler_fff(16, 25) |