mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40:35 +00:00
-Adding more FPGA helpers to channel operations
This commit is contained in:
parent
f9b450bc80
commit
c877e74565
@ -216,6 +216,11 @@ void Channel::set_signal(const Gnss_Signal& gnss_signal)
|
|||||||
gnss_synchro_.PRN = gnss_signal_.get_satellite().get_PRN();
|
gnss_synchro_.PRN = gnss_signal_.get_satellite().get_PRN();
|
||||||
gnss_synchro_.System = gnss_signal_.get_satellite().get_system_short().c_str()[0];
|
gnss_synchro_.System = gnss_signal_.get_satellite().get_system_short().c_str()[0];
|
||||||
acq_->set_local_code();
|
acq_->set_local_code();
|
||||||
|
if (flag_enable_fpga)
|
||||||
|
{
|
||||||
|
//set again the gnss_synchro pointer to trigger the preloading of the current PRN code to the FPGA fabric
|
||||||
|
trk_->set_gnss_synchro(&gnss_synchro_);
|
||||||
|
}
|
||||||
nav_->set_satellite(gnss_signal_.get_satellite());
|
nav_->set_satellite(gnss_signal_.get_satellite());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user