summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/usrp_am_mw_rcv.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-06 15:14:19 -0500
committerTom Rondeau <trondeau@vt.edu>2013-03-06 15:14:19 -0500
commitcf2c954ba4fc54909515f8550fd55741c9603a11 (patch)
treef3520b072bd7e3f98fbef80052327411d5c32246 /gr-uhd/examples/python/usrp_am_mw_rcv.py
parent2fb54bc604578db99ee788799a7723ed5eddb65a (diff)
core: removed all complex_to_<type> blocks from core; using gr-blocks.
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