Changeset 5850 in ntrip


Ignore:
Timestamp:
Aug 7, 2014, 12:46:07 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppThread.cpp

    r5848 r5850  
    223223  // Process the oldest epoch
    224224  // ------------------------
    225   if (_epoData.size() > 1) {
     225  while (_epoData.size() && _epoData.front()->_time < _lastClkCorrTime) {
    226226
    227227    const vector<t_satObs*>& satObs = _epoData.front()->_satObs;
     
    324324        if (cc) {
    325325          clkCorr.push_back(cc);       
     326          if (_lastClkCorrTime.undef() || cc->_time > _lastClkCorrTime) {
     327            _lastClkCorrTime = cc->_time;
     328          }
    326329        }
    327330      }
  • trunk/BNC/src/PPP/pppThread.h

    r5840 r5850  
    4747  int                    _lastOrbCorrIOD[t_prn::MAXPRN+1];
    4848  double                 _lastClkCorrValue[t_prn::MAXPRN+1];
     49  bncTime                _lastClkCorrTime;
    4950};
    5051
Note: See TracChangeset for help on using the changeset viewer.