From 8b3c4ccf922c602ae77dad7f3911b16bdd0112d3 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Tue, 26 Jul 2011 20:59:49 -0400 Subject: digital: reworking code so digital examples work. BPSK seems to work fine offline. --- gr-digital/examples/receive_path.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gr-digital/examples/receive_path.py') diff --git a/gr-digital/examples/receive_path.py b/gr-digital/examples/receive_path.py index 0024d6941f..9bc5f7b8f2 100644 --- a/gr-digital/examples/receive_path.py +++ b/gr-digital/examples/receive_path.py @@ -20,8 +20,10 @@ # Boston, MA 02110-1301, USA. # -from gnuradio import gr, gru, blks2 +from gnuradio import gr, gru from gnuradio import eng_notation +from gnuradio import digital + import copy import sys @@ -59,10 +61,10 @@ class receive_path(gr.hier_block2): # receiver self.packet_receiver = \ - blks2.demod_pkts(self._demod_class(**demod_kwargs), - access_code=None, - callback=self._rx_callback, - threshold=-1) + digital.demod_pkts(self._demod_class(**demod_kwargs), + access_code=None, + callback=self._rx_callback, + threshold=-1) # Carrier Sensing Blocks alpha = 0.001 -- cgit v1.2.3