diff options
author | tvoid <tvoid@lesaige.com> | 2008-04-07 18:58:43 -0600 |
---|---|---|
committer | tvoid <tvoid@lesaige.com> | 2008-04-07 18:58:43 -0600 |
commit | 0be80293cac0d50ff5e6f8c757a9424501af3c60 (patch) | |
tree | e8d0eb4011f9ae5b48b19a4e0b63f28e719db55c /gsm-tvoid/src/lib/gsm_burst.cc | |
parent | 7a6d8fc1da77e11decd341e81ab6d65e46ae2eed (diff) |
added burst callbacks for freq_offset and tune
Diffstat (limited to 'gsm-tvoid/src/lib/gsm_burst.cc')
-rwxr-xr-x | gsm-tvoid/src/lib/gsm_burst.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gsm-tvoid/src/lib/gsm_burst.cc b/gsm-tvoid/src/lib/gsm_burst.cc index 6bec32c..162e12b 100755 --- a/gsm-tvoid/src/lib/gsm_burst.cc +++ b/gsm-tvoid/src/lib/gsm_burst.cc @@ -647,6 +647,10 @@ int gsm_burst::get_burst(void) d_fcch_count++; calc_freq_offset(); + if (p_tuner) { + p_tuner->calleval(BURST_CB_ADJ_OFFSET); + } + d_ts = 0; break; case PARTIAL_SCH: @@ -693,13 +697,6 @@ int gsm_burst::get_burst(void) if (got_burst) { d_total_count++; - //do callback - if (p_tuner) { - //p_tuner->eval(1.0); - long in=1; - long out = -1; - out = p_tuner->calleval(in); - } //print info print_burst(); |