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:
parent
dcd8a591d1
commit
b9c53c038f
@ -148,6 +148,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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user