summaryrefslogtreecommitdiff
path: root/gr-fec/python
diff options
context:
space:
mode:
authorJacob Gilbert <jacob.gilbert@protonmail.com>2021-03-14 10:29:08 -0700
committermormj <34754695+mormj@users.noreply.github.com>2021-03-18 16:35:41 -0400
commit4a3fe8539ce0f0830db150d7c8b920d9c0828c0c (patch)
treee41709e4e7a4ac1a843895c55cf81490929418fc /gr-fec/python
parenta8a9913136a64da903f190493bdc117b5349625e (diff)
gr-blocks: remove pdu blocks
The following have been moved to the new gr::pdu module or to gr::network and are no longer needed in gr::blocks: - pdu (noblock) - pdu_filter block - pdu_remove block - pdu_set block - pdu_to_tagged_stream block - random_pdu block - socket_pdu block - stream_pdu_base (noblock) - tagged_stream_to_pdu block - tcp_connection (noblock) - tuntap_pdu block The digital and FEC modules had a large number of references to the PDU blocks that were moved from gr-blocks to gr-pdu, this updates these changes in example flowgraphs and a few python files. The usage-manual update will be propagated to the wiki so that future exports will remain up to date. Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
Diffstat (limited to 'gr-fec/python')
-rw-r--r--gr-fec/python/fec/qa_fecapi_cc_buffer_overflow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-fec/python/fec/qa_fecapi_cc_buffer_overflow.py b/gr-fec/python/fec/qa_fecapi_cc_buffer_overflow.py
index 98344b5175..0998408256 100644
--- a/gr-fec/python/fec/qa_fecapi_cc_buffer_overflow.py
+++ b/gr-fec/python/fec/qa_fecapi_cc_buffer_overflow.py
@@ -10,7 +10,7 @@
from gnuradio import gr, gr_unittest
from gnuradio import fec
-from gnuradio import blocks, analog
+from gnuradio import blocks, analog, pdu
# This test tries to checks for the kind of buffer overflows in the
# FECAPI convolutional decoder that were fixed in #2965
@@ -24,7 +24,7 @@ class test_fecapi_cc_buffer_overflow(gr_unittest.TestCase):
head = blocks.head(gr.sizeof_float, self.n_frames * frame_len)
tag = blocks.stream_to_tagged_stream(
gr.sizeof_float, 1, frame_len, "packet_len")
- stream2pdu = blocks.tagged_stream_to_pdu(blocks.float_t, 'packet_len')
+ stream2pdu = pdu.tagged_stream_to_pdu(gr.types.float_t, 'packet_len')
viterbi = fec.cc_decoder.make(
frame_len // 2, 7, 2, [79, -109], 0, -1, fec.CC_TERMINATED, False)