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

Galileo fix

This commit is contained in:
Carles Fernandez 2018-10-09 17:00:43 +02:00
parent c0da948857
commit 120c1a0614

View File

@ -499,6 +499,15 @@ eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav)
if (iode >= 0 && nav->eph[i].iode != iode) continue;
if (sys == SYS_GAL)
{
if (nav->eph[i].sat > (NSATGPS + NSATGLO))
{
galmessagetype = GALMESS_INAV;
}
else
{
galmessagetype = GALMESS_FNAV;
}
if (galmessagetype == GALMESS_FNAV)
{
/* Check if F/NAV ephemeris */