summaryrefslogtreecommitdiff
path: root/gr-uhd/apps/uhd_fft.py
diff options
context:
space:
mode:
authorTom Rondeau2011-12-14 22:24:44 -0500
committerTom Rondeau2011-12-14 22:24:44 -0500
commit25c494b347a9e0c411c8cff0101f6c7c656464f0 (patch)
tree60b7598b4c5d56366eb8230ca12b1610bab3cc8c /gr-uhd/apps/uhd_fft.py
parent1f29a384ecd6512f5cb0891dbd651aca8ced86ed (diff)
parentf395bd639c64ea7b61d1e5091f5af0b419a5b3a2 (diff)
downloadgnuradio-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-xgr-uhd/apps/uhd_fft.py8
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)