Changeset 2996 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Feb 16, 2011, 6:23:53 PM (14 years ago)
Author:
stoecker
Message:

support 51,52 as GIOVE sat numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r2994 r2996  
    12471247              if(cd.lock && wl) /* lock cannot have a valid zero value */
    12481248              {
    1249                 int fullsat = sys+RTCM3_MSM_NUMSAT-i-1, num;
    1250                 /* FIXME: workaround for GIOVE */
     1249                int fullsat = RTCM3_MSM_NUMSAT-i-1, num;
     1250
     1251                if(sys == RTCM3_MSM_GALILEO && fullsat >= 50 && fullsat <= 51)
     1252                  fullsat += PRN_GIOVE_START-50;
     1253                else
     1254                  fullsat += sys;
     1255
     1256                /* FIXME: workaround for GIOVE, remove me soon */
    12511257                if(fullsat >= PRN_GALILEO_START && fullsat <= PRN_GALILEO_START+2)
    12521258                  fullsat += PRN_GIOVE_START-PRN_GALILEO_START;
     1259
    12531260                for(num = 0; num < gnss->numsats
    12541261                && fullsat != gnss->satellites[num]; ++num)
Note: See TracChangeset for help on using the changeset viewer.