summaryrefslogtreecommitdiff
path: root/gr-digital/python/qa_constellation.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/python/qa_constellation.py')
-rwxr-xr-xgr-digital/python/qa_constellation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/python/qa_constellation.py b/gr-digital/python/qa_constellation.py
index 3c109cfe82..12dbca232f 100755
--- a/gr-digital/python/qa_constellation.py
+++ b/gr-digital/python/qa_constellation.py
@@ -174,12 +174,12 @@ class mod_demod(gr.hier_block2):
self.blocks = [self]
# We expect a stream of unpacked bits.
# First step is to pack them.
- self.blocks.append(gr.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST))
+ self.blocks.append(blocks.unpacked_to_packed_bb(1, gr.GR_MSB_FIRST))
# Second step we unpack them such that we have k bits in each byte where
# each constellation symbol hold k bits.
self.blocks.append(
- gr.packed_to_unpacked_bb(self.constellation.bits_per_symbol(),
- gr.GR_MSB_FIRST))
+ blocks.packed_to_unpacked_bb(self.constellation.bits_per_symbol(),
+ gr.GR_MSB_FIRST))
# Apply any pre-differential coding
# Gray-coding is done here if we're also using differential coding.
if self.constellation.apply_pre_diff_code():