Changeset 4981 in ntrip


Ignore:
Timestamp:
Mar 13, 2013, 8:13:16 AM (12 years ago)
Author:
stoecker
Message:

fix GLONASS code biases access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/clock_and_orbit/lib/clock_orbit_rtcm.c

    r3728 r4981  
    10081008    {
    10091009      G_GLONASS_SATELLITE_ID(id)
    1010       for(pos = CLOCKORBIT_NUMGPS; pos < b->NumberOfGLONASSSat && b->Sat[pos].ID != id; ++pos)
     1010      for(pos = CLOCKORBIT_NUMGPS; pos < CLOCKORBIT_NUMGPS+b->NumberOfGLONASSSat && b->Sat[pos].ID != id; ++pos)
    10111011        ;
    10121012      if(pos >= CLOCKORBIT_NUMGPS+CLOCKORBIT_NUMGLONASS) return GCOBR_DATAMISMATCH;
    1013       else if(pos == b->NumberOfGLONASSSat) ++b->NumberOfGLONASSSat;
     1013      else if(pos == CLOCKORBIT_NUMGPS+b->NumberOfGLONASSSat) ++b->NumberOfGLONASSSat;
    10141014      b->Sat[pos].ID = id;
    10151015
Note: See TracChangeset for help on using the changeset viewer.