summaryrefslogtreecommitdiff
path: root/gr-qtgui/examples/pyqt_const_c.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/examples/pyqt_const_c.py')
-rwxr-xr-xgr-qtgui/examples/pyqt_const_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/examples/pyqt_const_c.py b/gr-qtgui/examples/pyqt_const_c.py
index e3cc3e527e..125124ebc5 100755
--- a/gr-qtgui/examples/pyqt_const_c.py
+++ b/gr-qtgui/examples/pyqt_const_c.py
@@ -20,7 +20,7 @@
# Boston, MA 02110-1301, USA.
#
-from gnuradio import gr
+from gnuradio import gr, filter
import sys
try:
@@ -142,7 +142,7 @@ class my_top_block(gr.top_block):
src1 = gr.sig_source_c(Rs, gr.GR_SIN_WAVE, f1, 0.5, 0)
src2 = gr.sig_source_c(Rs, gr.GR_SIN_WAVE, f2, 0.5, 0)
src = gr.add_cc()
- channel = gr.channel_model(0.001)
+ channel = filter.channel_model(0.001)
thr = gr.throttle(gr.sizeof_gr_complex, 100*npts)
self.snk1 = qtgui.const_sink_c(npts, "Constellation Example", 1)