diff options
author | tvoid <tvoid@lesaige.com> | 2008-04-08 01:11:27 -0600 |
---|---|---|
committer | tvoid <tvoid@lesaige.com> | 2008-04-08 01:11:27 -0600 |
commit | 4cfc3dca2b252bfa65cf1633b9f966d572493547 (patch) | |
tree | 5651fb477114db1571867f7ab1b3a4153c846310 /gsm-tvoid/src/python | |
parent | f5881fc49a1d8f7867852c787f55cdb90ac06278 (diff) |
-fixed burst_cf sampling
Diffstat (limited to 'gsm-tvoid/src/python')
-rwxr-xr-x | gsm-tvoid/src/python/gsm_scan.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |