summaryrefslogtreecommitdiff
path: root/gr-filter/examples/decimate.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-12-21 15:11:39 -0500
committerTom Rondeau <trondeau@vt.edu>2012-12-21 21:19:13 -0500
commit55d3e4a47958be287648a2021f7e92d81086b2d9 (patch)
treeae0195c457f2cf2734376679cc88c2d728040680 /gr-filter/examples/decimate.py
parentfa781237f341a74a243a9fb930daee7e62c3a682 (diff)
blocks: removes blocks moved to gr-blocks from gnuradio-core.
Also fixes up some other missing moves.
Diffstat (limited to 'gr-filter/examples/decimate.py')
-rwxr-xr-xgr-filter/examples/decimate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-filter/examples/decimate.py b/gr-filter/examples/decimate.py
index 4a7a5eb155..56ed7edff1 100755
--- a/gr-filter/examples/decimate.py
+++ b/gr-filter/examples/decimate.py
@@ -21,6 +21,7 @@
#
from gnuradio import gr
+from gnuradio import blocks
from gnuradio import filter
import sys, time
@@ -68,7 +69,7 @@ class pfb_top_block(gr.top_block):
# We create a list of freqs, and a sine wave is generated and added to the source
# for each one of these frequencies.
self.signals = list()
- self.add = gr.add_cc()
+ self.add = blocks.add_cc()
freqs = [10, 20, 2040]
for i in xrange(len(freqs)):
self.signals.append(analog.sig_source_c(self._fs, analog.GR_SIN_WAVE, freqs[i], 1))