diff options
author | Tom Rondeau | 2011-10-25 22:25:03 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-25 22:25:03 -0400 |
commit | 9db418d113b51221862fb68d711ecd9c1cc1316a (patch) | |
tree | 2c7b7aa5acdbd8c1cd81d9fdf2c19af45a18d35b /grc | |
parent | fde3f39419a301d87bb460f9b857e3454d019aa9 (diff) | |
download | gnuradio-9db418d113b51221862fb68d711ecd9c1cc1316a.tar.gz gnuradio-9db418d113b51221862fb68d711ecd9c1cc1316a.tar.bz2 gnuradio-9db418d113b51221862fb68d711ecd9c1cc1316a.zip |
grc: correlate access code was also moved to gr-digital; fixing bug in grc block.
Diffstat (limited to 'grc')
-rw-r--r-- | grc/grc_gnuradio/blks2/packet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/grc_gnuradio/blks2/packet.py b/grc/grc_gnuradio/blks2/packet.py index 2a4876338..e39f55c84 100644 --- a/grc/grc_gnuradio/blks2/packet.py +++ b/grc/grc_gnuradio/blks2/packet.py @@ -18,7 +18,7 @@ # Boston, MA 02110-1301, USA. # -from gnuradio import gr +from gnuradio import gr, digital from gnuradio.digital import packet_utils import gnuradio.gr.gr_threading as _threading @@ -157,7 +157,7 @@ class packet_decoder(gr.hier_block2): self._threshold = threshold #blocks msgq = gr.msg_queue(DEFAULT_MSGQ_LIMIT) #holds packets from the PHY - correlator = gr.correlate_access_code_bb(self._access_code, self._threshold) + correlator = digital.correlate_access_code_bb(self._access_code, self._threshold) framer_sink = gr.framer_sink_1(msgq) #initialize hier2 gr.hier_block2.__init__( |