diff options
author | Tom Rondeau | 2011-12-14 22:24:44 -0500 |
---|---|---|
committer | Tom Rondeau | 2011-12-14 22:24:44 -0500 |
commit | 25c494b347a9e0c411c8cff0101f6c7c656464f0 (patch) | |
tree | 60b7598b4c5d56366eb8230ca12b1610bab3cc8c /gr-uhd/apps/uhd_fft.py | |
parent | 1f29a384ecd6512f5cb0891dbd651aca8ced86ed (diff) | |
parent | f395bd639c64ea7b61d1e5091f5af0b419a5b3a2 (diff) | |
download | gnuradio-25c494b347a9e0c411c8cff0101f6c7c656464f0.tar.gz gnuradio-25c494b347a9e0c411c8cff0101f6c7c656464f0.tar.bz2 gnuradio-25c494b347a9e0c411c8cff0101f6c7c656464f0.zip |
Merge branch 'master' into next
Diffstat (limited to 'gr-uhd/apps/uhd_fft.py')
-rwxr-xr-x | gr-uhd/apps/uhd_fft.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-uhd/apps/uhd_fft.py b/gr-uhd/apps/uhd_fft.py index 7ebf5e106..a9bb1435e 100755 --- a/gr-uhd/apps/uhd_fft.py +++ b/gr-uhd/apps/uhd_fft.py @@ -85,6 +85,10 @@ class app_top_block(stdgui2.std_top_block): if(options.spec): self.u.set_subdev_spec(options.spec, 0) + # Set the antenna + if(options.antenna): + self.u.set_antenna(options.antenna, 0) + self.u.set_samp_rate(options.samp_rate) input_rate = self.u.get_samp_rate() @@ -128,10 +132,6 @@ class app_top_block(stdgui2.std_top_block): self.set_gain(options.gain) - # Set the antenna - if(options.antenna): - self.u.set_antenna(options.antenna, 0) - if self.show_debug_info: self.myform['samprate'].set_value(self.u.get_samp_rate()) self.myform['rffreq'].set_value(0) |