mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Fix bug
This commit is contained in:
parent
5d9fb5af38
commit
b1a295d982
@ -80,13 +80,13 @@ void dll_pll_veml_tracking::forecast(int noutput_items,
|
|||||||
dll_pll_veml_tracking::dll_pll_veml_tracking(dllpllconf_t conf_) : gr::block("dll_pll_veml_tracking", gr::io_signature::make(1, 1, sizeof(gr_complex)),
|
dll_pll_veml_tracking::dll_pll_veml_tracking(dllpllconf_t conf_) : gr::block("dll_pll_veml_tracking", gr::io_signature::make(1, 1, sizeof(gr_complex)),
|
||||||
gr::io_signature::make(1, 1, sizeof(Gnss_Synchro)))
|
gr::io_signature::make(1, 1, sizeof(Gnss_Synchro)))
|
||||||
{
|
{
|
||||||
|
trk_parameters = conf_;
|
||||||
// Telemetry bit synchronization message port input
|
// Telemetry bit synchronization message port input
|
||||||
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
this->message_port_register_in(pmt::mp("preamble_timestamp_s"));
|
||||||
this->message_port_register_out(pmt::mp("events"));
|
this->message_port_register_out(pmt::mp("events"));
|
||||||
this->set_relative_rate(1.0 / static_cast<double>(trk_parameters.vector_length));
|
this->set_relative_rate(1.0 / static_cast<double>(trk_parameters.vector_length));
|
||||||
|
|
||||||
// initialize internal vars
|
// initialize internal vars
|
||||||
trk_parameters = conf_;
|
|
||||||
d_veml = false;
|
d_veml = false;
|
||||||
d_cloop = true;
|
d_cloop = true;
|
||||||
d_synchonizing = false;
|
d_synchonizing = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user