From 0f4d752f6424b0a3d07e018f81e3869085d8c2fe Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 10 Jan 2010 11:35:03 -0800 Subject: [PATCH] Applied reverse diff for win.set_* change on ra_fftsink.py This file, unlike the others duplicates the fft plotter. Its use of win.set was correct, since that was an internal method. --- gr-radio-astronomy/src/python/ra_fftsink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gr-radio-astronomy/src/python/ra_fftsink.py b/gr-radio-astronomy/src/python/ra_fftsink.py index 8718a8f6..4733027c 100755 --- a/gr-radio-astronomy/src/python/ra_fftsink.py +++ b/gr-radio-astronomy/src/python/ra_fftsink.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2003,2004,2005,2007,2010 Free Software Foundation, Inc. +# Copyright 2003,2004,2005,2007 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -82,7 +82,7 @@ class ra_fft_sink_base(object): self.peak_hold = enable if enable: self.set_average(False) - self.set_peak_hold(enable) + self.win.set_peak_hold(enable) def set_autoscale(self, auto): self.autoscale = auto -- 2.30.2