summaryrefslogtreecommitdiff
path: root/gr-qtgui/examples/pyqt_freq_f.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/examples/pyqt_freq_f.py')
-rwxr-xr-xgr-qtgui/examples/pyqt_freq_f.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/examples/pyqt_freq_f.py b/gr-qtgui/examples/pyqt_freq_f.py
index 44d81314a4..668b54d249 100755
--- a/gr-qtgui/examples/pyqt_freq_f.py
+++ b/gr-qtgui/examples/pyqt_freq_f.py
@@ -150,7 +150,7 @@ class my_top_block(gr.top_block):
src1 = analog.sig_source_f(Rs, analog.GR_SIN_WAVE, f1, 0.1, 0)
src2 = analog.sig_source_f(Rs, analog.GR_SIN_WAVE, f2, 0.1, 0)
src = blocks.add_ff()
- thr = gr.throttle(gr.sizeof_float, 100*npts)
+ thr = blocks.throttle(gr.sizeof_float, 100*npts)
self.snk1 = qtgui.freq_sink_f(npts, filter.firdes.WIN_BLACKMAN_hARRIS,
0, Rs,
"Real freq Example", 3)