1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-17 15:24:56 +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 b8e7fc0cc9
commit f9845ae3a2

View File

@ -151,6 +151,12 @@ public:
{ {
gr::thread::scoped_lock lock(d_setlock); // require mutex with work function called by the scheduler gr::thread::scoped_lock lock(d_setlock); // require mutex with work function called by the scheduler
d_gnss_synchro = p_gnss_synchro; 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;
}
} }
/*! /*!