diff options
author | jcorgan | 2007-11-08 20:50:47 +0000 |
---|---|---|
committer | jcorgan | 2007-11-08 20:50:47 +0000 |
commit | 28edd49f3d5c1e7eb2f3f2826726bf688f037b1f (patch) | |
tree | aa24a9f5605733b3417cbb89439049d379bb1ed1 /gr-wxgui/src/python/fftsink2.py | |
parent | 9e9d90d528c8833c5b6a0a0982d7df198b6c9451 (diff) | |
download | gnuradio-28edd49f3d5c1e7eb2f3f2826726bf688f037b1f.tar.gz gnuradio-28edd49f3d5c1e7eb2f3f2826726bf688f037b1f.tar.bz2 gnuradio-28edd49f3d5c1e7eb2f3f2826726bf688f037b1f.zip |
Fix for working with peak hold in usrp_fft.py
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6839 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-wxgui/src/python/fftsink2.py')
-rwxr-xr-x | gr-wxgui/src/python/fftsink2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/fftsink2.py b/gr-wxgui/src/python/fftsink2.py index 52b898a5d..8e07dda41 100755 --- a/gr-wxgui/src/python/fftsink2.py +++ b/gr-wxgui/src/python/fftsink2.py @@ -256,6 +256,8 @@ class fft_window (plot.PlotCanvas): self._format = "%3.3f" def set_baseband_freq(self, baseband_freq): + if self.peak_hold: + self.peak_vals = None self.set_scale(baseband_freq) self.fftsink.set_baseband_freq(baseband_freq) |