Changeset 3537 in ntrip
- Timestamp:
- Dec 22, 2011, 12:00:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r3524 r3537 247 247 glonassephemeris** ee = &_glonassEph[glonasseph->almanac_number-1]; 248 248 249 int wwOld, towOld, wwNew, towNew;250 if (*ee != 0) {251 wwOld = (*ee)->GPSWeek;252 towOld = (*ee)->GPSTOW;253 updatetime(&wwOld, &towOld, (*ee)->tb*1000, 0); // Moscow -> GPS254 255 wwNew = glonasseph->GPSWeek;256 towNew = glonasseph->GPSTOW;257 updatetime(&wwNew, &towNew, glonasseph->tb*1000, 0); // Moscow -> GPS258 }259 260 249 if ( *ee == 0 || 261 wwNew > wwOld || 262 (wwNew == wwOld && towNew > towOld) ) { 250 glonasseph->GPSWeek > (*ee)->GPSWeek || 251 ( glonasseph->GPSWeek == (*ee)->GPSWeek && 252 glonasseph->GPSTOW > (*ee)->GPSTOW ) ) { 263 253 delete *ee; 264 254 *ee = glonasseph;
Note:
See TracChangeset
for help on using the changeset viewer.