diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-11-06 14:28:22 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-11-06 14:40:43 -0500 |
commit | fd110bdbbe8bc40781c34f33c70deec5b7931109 (patch) | |
tree | ef18e813add19b09c57cc21cb672ea602701405b /gr-howto-write-a-block | |
parent | 0c9c16fb008b02a5af39fb22e18acfff2dbd933a (diff) |
analog: Removing reference to gr.sig_source_X and gr.noise_source_X where possible.
Passing make and make test. Examples and apps need testing.
gr-filter relies on sig_source and noise_source, so can't remove them from core.
Diffstat (limited to 'gr-howto-write-a-block')
-rwxr-xr-x | gr-howto-write-a-block/apps/howto_square_qt.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-howto-write-a-block/apps/howto_square_qt.py b/gr-howto-write-a-block/apps/howto_square_qt.py index 1a3e6874c4..0c29ff6088 100755 --- a/gr-howto-write-a-block/apps/howto_square_qt.py +++ b/gr-howto-write-a-block/apps/howto_square_qt.py @@ -9,6 +9,7 @@ from PyQt4 import Qt from gnuradio import eng_notation from gnuradio import gr from gnuradio import qtgui +from gnuradio import analog from gnuradio.eng_option import eng_option from gnuradio.gr import firdes from optparse import OptionParser @@ -58,7 +59,7 @@ class howto_square_qt(gr.top_block, Qt.QWidget): self.howto_square_ff_0 = howto.square_ff() self.howto_square2_ff_0 = howto.square2_ff() self.gr_throttle_0 = gr.throttle(gr.sizeof_float*1, samp_rate) - self.gr_sig_source_x_0 = gr.sig_source_f(samp_rate, gr.GR_COS_WAVE, 1000, 1, 0) + self.gr_sig_source_x_0 = analog.sig_source_f(samp_rate, analog.GR_COS_WAVE, 1000, 1, 0) ################################################## # Connections |