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 6e9c3fed67..eebbd7c041 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.chan_filt = filter.fir_filter_ccf(chanfilt_decim, chan_filt_coeffs)
self.agc = analog.agc_cc(0.1, 1, 1, 100000)
- self.am_demod = gr.complex_to_mag()
+ self.am_demod = blocks.complex_to_mag()
self.volume_control = blocks.multiply_const_ff(self.vol)
audio_filt_coeffs = filter.firdes.low_pass_2(1, # gain