summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/usrp_wfm_rcv.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/usrp_wfm_rcv.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/usrp_wfm_rcv.py')
-rwxr-xr-xgr-uhd/examples/python/usrp_wfm_rcv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-uhd/examples/python/usrp_wfm_rcv.py b/gr-uhd/examples/python/usrp_wfm_rcv.py
index 824af8975c..351f2c7be4 100755
--- a/gr-uhd/examples/python/usrp_wfm_rcv.py
+++ b/gr-uhd/examples/python/usrp_wfm_rcv.py
@@ -21,6 +21,7 @@
#
from gnuradio import gr, optfir, audio, uhd
+from gnuradio import blocks
from gnuradio import filter
from gnuradio import analog
from gnuradio.eng_option import eng_option
@@ -101,7 +102,7 @@ class wfm_rx_block (stdgui2.std_top_block):
self.guts = analog.wfm_rcv(demod_rate, audio_decim)
- self.volume_control = gr.multiply_const_ff(self.vol)
+ self.volume_control = blocks.multiply_const_ff(self.vol)
# sound card as final sink
self.audio_sink = audio.sink(int (audio_rate),