summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/usrp_fft.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/src/python/usrp_fft.py')
-rwxr-xr-xgr-utils/src/python/usrp_fft.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-utils/src/python/usrp_fft.py b/gr-utils/src/python/usrp_fft.py
index d549dd4e3..30a06911a 100755
--- a/gr-utils/src/python/usrp_fft.py
+++ b/gr-utils/src/python/usrp_fft.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2005,2007 Free Software Foundation, Inc.
+# Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -115,7 +115,8 @@ class app_top_block(stdgui2.std_top_block):
elif options.oscilloscope:
self.scope = scopesink2.scope_sink_c(panel, sample_rate=input_rate)
else:
- self.scope = fftsink2.fft_sink_c (panel, fft_size=1024, sample_rate=input_rate, y_divs = 10)
+ self.scope = fftsink2.fft_sink_c (panel, fft_size=1024, sample_rate=input_rate,
+ ref_scale=32768.0, ref_level=0.0, y_divs = 10)
self.connect(self.u, self.scope)