diff --git a/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.cc b/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.cc index f346ff8bc..b8a52b8c5 100644 --- a/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.cc +++ b/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.cc @@ -281,14 +281,7 @@ int Gps_L1_Ca_Dll_Pll_Tracking_fpga_sc::general_work (int noutput_items __attrib gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) { - // debug - int secondary_sample_counter; - int counter_corr_0_in; - int counter_corr_0_out; - int sample_counter; - unsigned absolute_samples_offset; -// int kk2; // process vars double carr_error_hz = 0.0; double carr_error_filt_hz = 0.0; @@ -333,16 +326,6 @@ int Gps_L1_Ca_Dll_Pll_Tracking_fpga_sc::general_work (int noutput_items __attrib d_rem_carr_phase_rad, d_carrier_phase_step_rad, d_rem_code_phase_chips, d_code_phase_step_chips, d_current_prn_length_samples); - d_previous_sample_counter = d_debug_sample_counter; - d_previous_counter_corr_0_in = d_counter_corr_0_in; - d_previous_counter_corr_0_out = d_counter_corr_0_out; - multicorrelator_fpga_8sc->read_sample_counters(&sample_counter, &secondary_sample_counter, &counter_corr_0_in, &counter_corr_0_out); - d_debug_sample_counter = sample_counter; - d_counter_corr_0_in = counter_corr_0_in; - d_counter_corr_0_out = counter_corr_0_out; - d_counter_corr_0_in_inc = counter_corr_0_in - d_previous_counter_corr_0_in; - d_counter_corr_0_out_inc = counter_corr_0_out - d_previous_counter_corr_0_out; - d_sample_counter_inc = d_debug_sample_counter - d_previous_sample_counter; // ################## PLL ########################################################## // PLL discriminator diff --git a/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.h b/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.h index f7d2141c9..161d87530 100644 --- a/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.h +++ b/src/algorithms/tracking/gnuradio_blocks/gps_l1_ca_dll_pll_tracking_fpga_sc.h @@ -182,17 +182,6 @@ private: double d_K_blk_samples_previous; int d_offset_sample_previous; - int d_kk = 0; - int d_numsamples_debug = 990; - int d_previous_sample_counter = 0; - int d_debug_sample_counter = 0; - int d_previous_counter_corr_0_in = 0; - int d_previous_counter_corr_0_out = 0; - int d_counter_corr_0_in_inc = 0; - int d_counter_corr_0_out_inc = 0; - int d_counter_corr_0_in = 0; - int d_counter_corr_0_out = 0; - int d_sample_counter_inc = 0; }; #endif //GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_FPGA_SC_H