Changeset 531 in ntrip


Ignore:
Timestamp:
Oct 18, 2007, 4:12:46 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r530 r531  
    187187  }
    188188
    189   delete glonasseph;
     189  glonassephemeris** ee =
     190                   &_glonassEph[glonasseph->almanac_number-PRN_GLONASS_START];
     191
     192  if ( *ee == 0 || (*ee)->GPSWeek != glonasseph->GPSWeek ||
     193      (*ee)->GPSTOW != glonasseph->GPSTOW ) {
     194    delete *ee;
     195    *ee = glonasseph;
     196    printGlonassEph(glonasseph);
     197  }
     198  else {
     199    delete glonasseph;
     200  }
    190201}
    191202
Note: See TracChangeset for help on using the changeset viewer.