summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/qa_ofdm_insert_preamble.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-04-02 23:04:08 -0700
committerBen Reynwar <ben@reynwar.net>2013-04-02 23:04:08 -0700
commitc6dbde23b256a41b3d92cb4ad6b63287095d53c7 (patch)
tree71db12ea2e1667770c22568dcdf5e0857d5f1e59 /gr-digital/python/digital/qa_ofdm_insert_preamble.py
parent22b70d0889ef3c51e27a31ee18d153093a55cbb8 (diff)
parent98758cbfa9a2aff714952d19e773bc370dfa2185 (diff)
Merged next into uninstalled import branch.
Diffstat (limited to 'gr-digital/python/digital/qa_ofdm_insert_preamble.py')
-rwxr-xr-xgr-digital/python/digital/qa_ofdm_insert_preamble.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gr-digital/python/digital/qa_ofdm_insert_preamble.py b/gr-digital/python/digital/qa_ofdm_insert_preamble.py
index a9664d6fe6..4edd54c8c6 100755
--- a/gr-digital/python/digital/qa_ofdm_insert_preamble.py
+++ b/gr-digital/python/digital/qa_ofdm_insert_preamble.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2007,2010-2012 Free Software Foundation, Inc.
+# Copyright 2007,2010-2013 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -34,8 +34,8 @@ class test_ofdm_insert_preamble(gr_unittest.TestCase):
def helper(self, v0, v1, fft_length, preamble):
tb = self.tb
- src0 = gr.vector_source_c(v0)
- src1 = gr.vector_source_b(v1)
+ src0 = blocks.vector_source_c(v0)
+ src1 = blocks.vector_source_b(v1)
s2v = blocks.stream_to_vector(gr.sizeof_gr_complex, fft_length)
@@ -44,8 +44,8 @@ class test_ofdm_insert_preamble(gr_unittest.TestCase):
op = digital.ofdm_insert_preamble(fft_length, preamble)
v2s = blocks.vector_to_stream(gr.sizeof_gr_complex, fft_length)
- dst0 = gr.vector_sink_c()
- dst1 = gr.vector_sink_b()
+ dst0 = blocks.vector_sink_c()
+ dst1 = blocks.vector_sink_b()
tb.connect(src0, s2v, (op, 0))
tb.connect(src1, (op, 1))