summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/fm_tx_2_daughterboards.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-12-21 15:11:39 -0500
committerTom Rondeau <trondeau@vt.edu>2012-12-21 21:19:13 -0500
commit55d3e4a47958be287648a2021f7e92d81086b2d9 (patch)
treeae0195c457f2cf2734376679cc88c2d728040680 /gr-uhd/examples/python/fm_tx_2_daughterboards.py
parentfa781237f341a74a243a9fb930daee7e62c3a682 (diff)
blocks: removes blocks moved to gr-blocks from gnuradio-core.
Also fixes up some other missing moves.
Diffstat (limited to 'gr-uhd/examples/python/fm_tx_2_daughterboards.py')
-rwxr-xr-xgr-uhd/examples/python/fm_tx_2_daughterboards.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-uhd/examples/python/fm_tx_2_daughterboards.py b/gr-uhd/examples/python/fm_tx_2_daughterboards.py
index f896be6d04..b4958b8596 100755
--- a/gr-uhd/examples/python/fm_tx_2_daughterboards.py
+++ b/gr-uhd/examples/python/fm_tx_2_daughterboards.py
@@ -33,6 +33,7 @@ Side B is 350 + 440 Hz tones.
from gnuradio import gr, uhd
from gnuradio import filter
from gnuradio import analog
+from gnuradio import blocks
from gnuradio.eng_notation import num_to_str, str_to_num
from gnuradio.eng_option import eng_option
from optparse import OptionParser
@@ -78,7 +79,7 @@ class example_signal_1(gr.hier_block2):
440, # frequency
1.0, # amplitude
0) # DC Offset
- sum = gr.add_cc()
+ sum = blocks.add_cc()
self.connect(src0, (sum, 0))
self.connect(src1, (sum, 1))
self.connect(sum, self)
@@ -154,7 +155,7 @@ class my_top_block(gr.top_block):
sig0 = example_signal_0(self.usrp_rate)
sig1 = example_signal_1(self.usrp_rate)
- intl = gr.interleave(gr.sizeof_gr_complex)
+ intl = blocks.interleave(gr.sizeof_gr_complex)
self.connect(sig0, (intl, 0))
self.connect(sig1, (intl, 1))