1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-16 17:29:48 +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 60ac371f53
commit 14e501ffec

View File

@ -145,6 +145,12 @@ public:
void set_gnss_synchro(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;
}
}
/*!