diff options
Diffstat (limited to 'gr-shd/apps/shd_fft.py')
-rwxr-xr-x | gr-shd/apps/shd_fft.py | 6 |
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) |