summaryrefslogtreecommitdiff
path: root/gr-shd
diff options
context:
space:
mode:
authorTom Rondeau2011-12-14 22:24:37 -0500
committerTom Rondeau2011-12-14 22:24:37 -0500
commitf395bd639c64ea7b61d1e5091f5af0b419a5b3a2 (patch)
treeb002d23b88a936351008aed8f92b6ba014496871 /gr-shd
parent7b3e1522274a41bcc3b432817bb02c33b2e4f84c (diff)
parente4cf0d1b51b7bc9843e76e8d6e35097664b6f2b3 (diff)
downloadgnuradio-f395bd639c64ea7b61d1e5091f5af0b419a5b3a2.tar.gz
gnuradio-f395bd639c64ea7b61d1e5091f5af0b419a5b3a2.tar.bz2
gnuradio-f395bd639c64ea7b61d1e5091f5af0b419a5b3a2.zip
Merge branch 'maint'
Diffstat (limited to 'gr-shd')
-rwxr-xr-xgr-shd/apps/shd_fft.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-shd/apps/shd_fft.py b/gr-shd/apps/shd_fft.py
index 81e84d383..46832784d 100755
--- a/gr-shd/apps/shd_fft.py
+++ b/gr-shd/apps/shd_fft.py
@@ -71,6 +71,9 @@ class app_top_block(stdgui2.std_top_block):
io_type=shd.io_type.COMPLEX_FLOAT32,
num_channels=1)
+ if(options.antenna):
+ self.src.set_antenna(options.antenna, 0)
+
self.src.set_samp_rate(options.samp_rate)
input_rate = self.src.get_samp_rate()
@@ -112,9 +115,6 @@ class app_top_block(stdgui2.std_top_block):
self.set_gain(options.gain)
- if(options.antenna):
- self.src.set_antenna(options.antenna, 0)
-
if self.show_debug_info:
self.myform['samprate'].set_value(self.src.get_samp_rate())
self.myform['fs@gbe'].set_value(input_rate)