From ba23d7efb87cd8ba624a1f9c577cf2bbea1b2fed Mon Sep 17 00:00:00 2001 From: piotr Date: Thu, 4 Jun 2009 14:09:12 +0200 Subject: removed unneeded viariables from compute_freq_offset --- src/lib/gsm_receiver_cf.cc | 43 +++++-------------------------------------- 1 file changed, 5 insertions(+), 38 deletions(-) (limited to 'src') diff --git a/src/lib/gsm_receiver_cf.cc b/src/lib/gsm_receiver_cf.cc index b58b108..c47e111 100644 --- a/src/lib/gsm_receiver_cf.cc +++ b/src/lib/gsm_receiver_cf.cc @@ -73,9 +73,6 @@ gsm_receiver_cf::gsm_receiver_cf(gr_feval_dd *tuner, int osr) d_freq_offset(0), d_state(first_fcch_search), d_burst_nr(osr) -// d_fcch_count(0), //!! -// d_x_temp(0),//!! -// d_x2_temp(0)//!! { int i; gmsk_mapper(SYNC_BITS, N_SYNC_BITS, d_sch_training_seq, gr_complex(0.0,-1.0)); @@ -208,23 +205,15 @@ gsm_receiver_cf::general_work(int noutput_items, break; case normal_burst: -// std::cout << "# name: norm_complex\n" ; -// std::cout << "# type: complex matrix\n" ; -// std::cout << "# rows: 1\n" ; -// std::cout << "# columns: " << floor(d_OSR*(TS_BITS+GUARD_PERIOD)) << "\n"; burst_start = get_norm_chan_imp_resp(in, chan_imp_resp, TRAIN_SEARCH_RANGE); -// std::cout << burst_start << "\n" ; detect_burst(in, &d_channel_imp_resp[0], burst_start, output_binary); // printf("burst = [ "); // - for (int i = 0; i < BURST_SIZE ; i++) { - printf(" %d", output_binary[i]); - } - printf("];\n"); -// -// for(int i=0; i