mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Remove unused parameter
This commit is contained in:
parent
e4dd4349c6
commit
e58264bb0e
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user