diff options
Diffstat (limited to 'gsm-tvoid/src/lib')
-rwxr-xr-x[-rw-r--r--] | gsm-tvoid/src/lib/gsm.i | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | gsm-tvoid/src/lib/gsm_burst.cc | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | gsm-tvoid/src/lib/gsm_burst.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/gsm-tvoid/src/lib/gsm.i b/gsm-tvoid/src/lib/gsm.i index 624cc30..a362421 100644..100755 --- a/gsm-tvoid/src/lib/gsm.i +++ b/gsm-tvoid/src/lib/gsm.i @@ -69,6 +69,7 @@ public: long d_normal_count; long d_dummy_count; long d_unknown_count; + long d_total_count; int sync_state(); float last_freq_offset(void); diff --git a/gsm-tvoid/src/lib/gsm_burst.cc b/gsm-tvoid/src/lib/gsm_burst.cc index 711d3e7..ff5fac1 100644..100755 --- a/gsm-tvoid/src/lib/gsm_burst.cc +++ b/gsm-tvoid/src/lib/gsm_burst.cc @@ -148,6 +148,7 @@ void gsm_burst::full_reset(void) d_normal_count=0; d_dummy_count=0; d_unknown_count=0; + d_total_count=0; d_freq_offset=0.0; d_freq_off_sum=0.0; @@ -752,6 +753,7 @@ int gsm_burst::get_burst(void) } if (got_burst) { + d_total_count++; //do callback //do_tuner_callback(p_tuner,1.0); //if (p_callback) diff --git a/gsm-tvoid/src/lib/gsm_burst.h b/gsm-tvoid/src/lib/gsm_burst.h index d80b9a9..b5313c4 100644..100755 --- a/gsm-tvoid/src/lib/gsm_burst.h +++ b/gsm-tvoid/src/lib/gsm_burst.h @@ -180,6 +180,7 @@ public: long d_normal_count; long d_dummy_count; long d_unknown_count; + long d_total_count; ////// Options unsigned long d_clock_options; |