diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-12-21 15:11:39 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-12-21 21:19:13 -0500 |
commit | 55d3e4a47958be287648a2021f7e92d81086b2d9 (patch) | |
tree | ae0195c457f2cf2734376679cc88c2d728040680 /gr-analog/python/am_demod.py | |
parent | fa781237f341a74a243a9fb930daee7e62c3a682 (diff) |
blocks: removes blocks moved to gr-blocks from gnuradio-core.
Also fixes up some other missing moves.
Diffstat (limited to 'gr-analog/python/am_demod.py')
-rw-r--r-- | gr-analog/python/am_demod.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-analog/python/am_demod.py b/gr-analog/python/am_demod.py index 2730aa2622..64a3909f51 100644 --- a/gr-analog/python/am_demod.py +++ b/gr-analog/python/am_demod.py @@ -20,6 +20,7 @@ # from gnuradio import gr +from gnuradio import blocks from gnuradio import filter class am_demod_cf(gr.hier_block2): @@ -43,7 +44,7 @@ class am_demod_cf(gr.hier_block2): gr.io_signature(1, 1, gr.sizeof_float)) # Input signature MAG = gr.complex_to_mag() - DCR = gr.add_const_ff(-1.0) + DCR = blocks.add_const_ff(-1.0) audio_taps = filter.optfir.low_pass(0.5, # Filter gain channel_rate, # Sample rate |