1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Remove unused parameter

This commit is contained in:
Carles Fernandez 2020-03-07 14:41:17 +01:00
parent e4dd4349c6
commit e58264bb0e
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 4 additions and 6 deletions

View File

@ -1023,16 +1023,16 @@ void dll_pll_veml_tracking::run_dll_pll()
}
void dll_pll_veml_tracking::check_carrier_phase_coherent_initialization(uint64_t sample_counter)
void dll_pll_veml_tracking::check_carrier_phase_coherent_initialization()
{
if (d_acc_carrier_phase_initialized == false)
{
double T_rx = static_cast<double>(sample_counter) / trk_parameters.fs_in;
d_acc_carrier_phase_rad = -d_rem_carr_phase_rad;
d_acc_carrier_phase_initialized = true;
}
}
void dll_pll_veml_tracking::clear_tracking_vars()
{
std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0));
@ -1831,7 +1831,6 @@ int dll_pll_veml_tracking::general_work(int noutput_items __attribute__((unused)
do_correlation_step(in);
save_correlation_results();
// check lock status
if (!cn0_and_tracking_lock_status(d_code_period * static_cast<double>(trk_parameters.extend_correlation_symbols)))
{
@ -1842,7 +1841,7 @@ int dll_pll_veml_tracking::general_work(int noutput_items __attribute__((unused)
{
run_dll_pll();
update_tracking_vars();
check_carrier_phase_coherent_initialization(d_sample_counter + static_cast<uint64_t>(d_current_prn_length_samples));
check_carrier_phase_coherent_initialization();
if (d_current_data_symbol == 0)
{
// enable write dump file this cycle (valid DLL/PLL cycle)

View File

@ -72,14 +72,13 @@ private:
bool acquire_secondary();
void do_correlation_step(const gr_complex *input_samples);
void run_dll_pll();
void check_carrier_phase_coherent_initialization();
void update_tracking_vars();
void clear_tracking_vars();
void save_correlation_results();
void log_data();
int32_t save_matfile();
void check_carrier_phase_coherent_initialization(uint64_t sample_counter);
// tracking configuration vars
Dll_Pll_Conf trk_parameters;
bool d_veml;