diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-10-31 20:01:16 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-10-31 20:01:16 -0400 |
commit | 66fd82ac5f87b55bb007b95ba9c7bfffe333b134 (patch) | |
tree | ab9c9ec3e7a14270a3f47e5f5c05e9f1499070a9 /gr-uhd/examples/python/usrp_am_mw_rcv.py | |
parent | 59f9e558daeb3d148a26fbb56fedc8f1dac1a5bb (diff) |
analog: removed all AGC blocks from gnuradio-core.
Also replaces calls to gr.agc with analog.agc.
Diffstat (limited to 'gr-uhd/examples/python/usrp_am_mw_rcv.py')
-rwxr-xr-x | gr-uhd/examples/python/usrp_am_mw_rcv.py | 3 |
1 files changed, 2 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 40a7fee68d..6965ef5af9 100755 --- a/gr-uhd/examples/python/usrp_am_mw_rcv.py +++ b/gr-uhd/examples/python/usrp_am_mw_rcv.py @@ -21,6 +21,7 @@ # from gnuradio import gr, eng_notation, optfir +from gnuradio import analog from gnuradio import audio from gnuradio import uhd from gnuradio import blks2 @@ -113,7 +114,7 @@ class wfm_rx_block (stdgui2.std_top_block): else: self.chan_filt = gr.fir_filter_ccf (chanfilt_decim, chan_filt_coeffs) - self.agc = gr.agc_cc(0.1, 1, 1, 100000) + 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) |