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

Change the if frequency to the FDMA channel to be searched

This commit is contained in:
Gastd 2017-06-01 20:57:48 -03:00
parent 121c3b8b53
commit 1527a6a8e7

View File

@ -148,6 +148,12 @@ public:
{
gr::thread::scoped_lock lock(d_setlock); // require mutex with work function called by the scheduler
d_gnss_synchro = p_gnss_synchro;
// Dealing with FDMA system
if(d_gnss_synchro->System == 'R')
{
d_freq += 0.5625e6 * GLONASS_PRN[d_gnss_synchro->PRN+1];
std::cout << "d_freq " << d_freq << std::endl;
}
}
/*!