mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-10 04:03:02 +00:00
GPS L2C M acquisition and tracking ready. Old configuration file format.
Bug fix on GPS L1 DLL PLL that prevented the output of gnss_synchro during the acqusition to tracking transition.
This commit is contained in:
@@ -54,13 +54,12 @@ void gps_l1_ca_code_gen_complex(std::complex<float>* _dest, signed int _prn, uns
|
||||
// compute delay array index for given PRN number
|
||||
if(120 <= _prn && _prn <= 138)
|
||||
{
|
||||
//prn_idx = _prn - 88; // SBAS PRNs are at array indices 31 to 50 (offset: -120+33-1 =-88)
|
||||
prn_idx = _prn - 87; // SBAS PRNs are at array indices 31 to 50 (offset: -120+33 =-87)
|
||||
prn_idx = _prn - 88; // SBAS PRNs are at array indices 31 to 50 (offset: -120+33-1 =-88)
|
||||
//prn_idx = _prn - 87; // SBAS PRNs are at array indices 31 to 50 (offset: -120+33 =-87)
|
||||
}
|
||||
else
|
||||
{
|
||||
//prn_idx = _prn-1;
|
||||
prn_idx = _prn;
|
||||
prn_idx = _prn-1;
|
||||
}
|
||||
|
||||
/* A simple error check */
|
||||
|
||||
Reference in New Issue
Block a user