diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-07-16 22:43:46 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-07-16 22:43:46 -0400 |
commit | 25166c11ad7e438dd3673edca36b3a23ee8ec0dd (patch) | |
tree | 1285726602c35493aa4f7230c60cf5298aa4e1e7 /gr-digital/python/pkt.py | |
parent | f51f49c7cd1b5c1bd10c243f479ac8f9ebb3f3d3 (diff) |
digital: fixing narrowband (de)mods and examples to work with gr-digital and gr-filter components.
Diffstat (limited to 'gr-digital/python/pkt.py')
-rw-r--r-- | gr-digital/python/pkt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/python/pkt.py b/gr-digital/python/pkt.py index 09254a7caa..b294066f17 100644 --- a/gr-digital/python/pkt.py +++ b/gr-digital/python/pkt.py @@ -23,7 +23,7 @@ from math import pi from gnuradio import gr import gnuradio.gr.gr_threading as _threading import packet_utils -import digital_swig +import digital_swig as digital # ///////////////////////////////////////////////////////////////////////////// @@ -141,7 +141,7 @@ class demod_pkts(gr.hier_block2): threshold = 12 # FIXME raise exception self._rcvd_pktq = gr.msg_queue() # holds packets from the PHY - self.correlator = digital_swig.correlate_access_code_bb(access_code, threshold) + self.correlator = digital.correlate_access_code_bb(access_code, threshold) self.framer_sink = digital.framer_sink_1(self._rcvd_pktq) self.connect(self, self._demodulator, self.correlator, self.framer_sink) |