summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-10 11:35:03 -0800
committerJosh Blum <josh@joshknows.com>2010-01-10 11:35:03 -0800
commit0f4d752f6424b0a3d07e018f81e3869085d8c2fe (patch)
tree664dc17d7e89ae1f30fa55cf7a58fda122cb9aff
parenta549bd11646f60d425a74d530b8f3ddfc4774202 (diff)
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.
-rwxr-xr-xgr-radio-astronomy/src/python/ra_fftsink.py4
1 files 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 8718a8f67b..4733027c10 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