diff options
author | jcorgan | 2007-11-08 02:20:57 +0000 |
---|---|---|
committer | jcorgan | 2007-11-08 02:20:57 +0000 |
commit | 32ea2fe9034c799557cfb63be6f56301a94621f1 (patch) | |
tree | 1c3f42455c0bb38d6fb736f991dfe53d21503d34 /gr-utils/src/python/usrp_fft.py | |
parent | 9e4536a76f32aeab24b072689b2950cfa19c9f34 (diff) | |
download | gnuradio-32ea2fe9034c799557cfb63be6f56301a94621f1.tar.gz gnuradio-32ea2fe9034c799557cfb63be6f56301a94621f1.tar.bz2 gnuradio-32ea2fe9034c799557cfb63be6f56301a94621f1.zip |
Fixes center frequency display in usrp_fft.py
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6829 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-utils/src/python/usrp_fft.py')
-rwxr-xr-x | gr-utils/src/python/usrp_fft.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-utils/src/python/usrp_fft.py b/gr-utils/src/python/usrp_fft.py index bdec44ce5..6ffeb1f03 100755 --- a/gr-utils/src/python/usrp_fft.py +++ b/gr-utils/src/python/usrp_fft.py @@ -75,7 +75,7 @@ class app_top_block(stdgui2.std_top_block): if len(args) != 0: parser.print_help() sys.exit(1) - + self.options = options self.show_debug_info = True # build the graph @@ -233,7 +233,9 @@ class app_top_block(stdgui2.std_top_block): if self.show_debug_info: self.myform['baseband'].set_value(r.baseband_freq) self.myform['ddc'].set_value(r.dxc_freq) - return True + if not self.options.waterfall and not self.options.oscilloscope: + self.scope.set_baseband_freq(target_freq) + return True return False |