summaryrefslogtreecommitdiff
path: root/gr-pager
diff options
context:
space:
mode:
authorJustin R. Cutler2012-05-31 17:05:23 -0700
committerJohnathan Corgan2012-05-31 17:05:23 -0700
commitb95b3ce4553442a97ce6ed19d907527ac0d90d96 (patch)
tree870fce88a8d984334a585fa8fff220861e6b6813 /gr-pager
parent53dabcddefa202facfd0825fd2171f840a1a47c3 (diff)
downloadgnuradio-b95b3ce4553442a97ce6ed19d907527ac0d90d96.tar.gz
gnuradio-b95b3ce4553442a97ce6ed19d907527ac0d90d96.tar.bz2
gnuradio-b95b3ce4553442a97ce6ed19d907527ac0d90d96.zip
pager: fix frequency display when not default
Diffstat (limited to 'gr-pager')
-rwxr-xr-xgr-pager/apps/usrp_flex_all4
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))