diff options
author | Justin R. Cutler | 2012-05-31 17:05:23 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-05-31 17:05:23 -0700 |
commit | b95b3ce4553442a97ce6ed19d907527ac0d90d96 (patch) | |
tree | 870fce88a8d984334a585fa8fff220861e6b6813 /gr-pager | |
parent | 53dabcddefa202facfd0825fd2171f840a1a47c3 (diff) | |
download | gnuradio-b95b3ce4553442a97ce6ed19d907527ac0d90d96.tar.gz gnuradio-b95b3ce4553442a97ce6ed19d907527ac0d90d96.tar.bz2 gnuradio-b95b3ce4553442a97ce6ed19d907527ac0d90d96.zip |
pager: fix frequency display when not default
Diffstat (limited to 'gr-pager')
-rwxr-xr-x | gr-pager/apps/usrp_flex_all | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-pager/apps/usrp_flex_all b/gr-pager/apps/usrp_flex_all index 75c4c1e73..8ecf5a41f 100755 --- a/gr-pager/apps/usrp_flex_all +++ b/gr-pager/apps/usrp_flex_all @@ -98,9 +98,9 @@ class app_top_block(gr.top_block): mid_chan = int(self.nchan/2) for i in range(self.nchan): if i < mid_chan: - freq = 930.5e6+i*25e3 + freq = options.freq+i*25e3 else: - freq = 930.5e6-(self.nchan-i)*25e3 + freq = options.freq-(self.nchan-i)*25e3 if (freq < 929.0e6 or freq > 932.0e6): self.connect((self.bank, i), gr.null_sink(gr.sizeof_gr_complex)) |