summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/usrp_am_mw_rcv.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/examples/python/usrp_am_mw_rcv.py')
-rwxr-xr-xgr-uhd/examples/python/usrp_am_mw_rcv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/examples/python/usrp_am_mw_rcv.py b/gr-uhd/examples/python/usrp_am_mw_rcv.py
index a389e173f8..5cd9d3f7ec 100755
--- a/gr-uhd/examples/python/usrp_am_mw_rcv.py
+++ b/gr-uhd/examples/python/usrp_am_mw_rcv.py
@@ -116,7 +116,7 @@ class wfm_rx_block (stdgui2.std_top_block):
self.agc = analog.agc_cc(0.1, 1, 1, 100000)
self.am_demod = gr.complex_to_mag()
- self.volume_control = gr.multiply_const_ff(self.vol)
+ self.volume_control = blocks.multiply_const_ff(self.vol)
audio_filt_coeffs = filter.firdes.low_pass_2(1, # gain
demod_rate, # sampling rate