diff options
author | Marcus Leech | 2013-03-19 14:29:17 -0400 |
---|---|---|
committer | Johnathan Corgan | 2013-05-14 20:28:31 -0700 |
commit | 97dc187c612d8aa126215db708f265566fce0fda (patch) | |
tree | b4a4ecc996978a8c616200ae26056ac915473540 /gr-wxgui/src/python/fftsink_nongl.py | |
parent | 4850598303359963de1b84791f0d66b8f9c9ad9c (diff) | |
download | gnuradio-97dc187c612d8aa126215db708f265566fce0fda.tar.gz gnuradio-97dc187c612d8aa126215db708f265566fce0fda.tar.bz2 gnuradio-97dc187c612d8aa126215db708f265566fce0fda.zip |
wxgui: make dummy set_callback stub in nongl sinks.
Doesn't work, but also doesn't break the code.
Diffstat (limited to 'gr-wxgui/src/python/fftsink_nongl.py')
-rw-r--r-- | gr-wxgui/src/python/fftsink_nongl.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/fftsink_nongl.py b/gr-wxgui/src/python/fftsink_nongl.py index c38abbb22..473cc424c 100644 --- a/gr-wxgui/src/python/fftsink_nongl.py +++ b/gr-wxgui/src/python/fftsink_nongl.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2003,2004,2005,2006,2007,2009,2010 Free Software Foundation, Inc. +# Copyright 2003-2007,2009,2010 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -99,6 +99,8 @@ class fft_sink_base(object): def _set_n(self): self.one_in_n.set_n(max(1, int(self.sample_rate/self.fft_size/self.fft_rate))) + def set_callback(self, callb): + return class fft_sink_f(gr.hier_block2, fft_sink_base): def __init__(self, parent, baseband_freq=0, ref_scale=2.0, |