From 4cfc3dca2b252bfa65cf1633b9f966d572493547 Mon Sep 17 00:00:00 2001 From: tvoid Date: Tue, 8 Apr 2008 01:11:27 -0600 Subject: -fixed burst_cf sampling --- gsm-tvoid/src/python/gsm_scan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gsm-tvoid/src/python/gsm_scan.py') diff --git a/gsm-tvoid/src/python/gsm_scan.py b/gsm-tvoid/src/python/gsm_scan.py index 51ff92e..577acf4 100755 --- a/gsm-tvoid/src/python/gsm_scan.py +++ b/gsm-tvoid/src/python/gsm_scan.py @@ -36,10 +36,10 @@ class burst_callback(gr.feval_ll): try: #print "burst_callback: ", x, "\n"; if gsm.BURST_CB_ADJ_OFFSET == x: - return 0 + #return 0 #TODO: rework so this will work on file input last_offset = self.fg.burst.last_freq_offset() - if 20000.0 > abs(last_offset) > 200.0: + if 20000.0 > abs(last_offset) > 500.0: self.fg.offset -= last_offset print "burst_callback: ADJ_OFFSET:", last_offset, " ARFCN: ", self.fg.arfcn, "\n"; self.fg.set_channel(self.fg.arfcn) -- cgit v1.2.3