summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/usrp_wfm_rcv2_nogui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/examples/python/usrp_wfm_rcv2_nogui.py')
-rwxr-xr-xgr-uhd/examples/python/usrp_wfm_rcv2_nogui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-uhd/examples/python/usrp_wfm_rcv2_nogui.py b/gr-uhd/examples/python/usrp_wfm_rcv2_nogui.py
index e76c78e017..42cea79e73 100755
--- a/gr-uhd/examples/python/usrp_wfm_rcv2_nogui.py
+++ b/gr-uhd/examples/python/usrp_wfm_rcv2_nogui.py
@@ -21,6 +21,7 @@
#
from gnuradio import gr, audio, uhd
+from gnuradio import blocks
from gnuradio import filter
from gnuradio import analog
from gnuradio.eng_option import eng_option
@@ -115,7 +116,7 @@ class wfm_rx_block (gr.top_block):
for n in range(2):
chan_filt = filter.pfb.arb_resampler_ccf(rrate, chan_coeffs, nfilts)
guts = analog.wfm_rcv(demod_rate, audio_decim)
- volume_control = gr.multiply_const_ff(self.vol)
+ volume_control = blocks.multiply_const_ff(self.vol)
#self.connect((self.di, n), chan_filt)
self.connect((self.u, n), chan_filt)