Changeset 3436 in ntrip for trunk/BNC


Ignore:
Timestamp:
Sep 21, 2011, 7:10:05 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3435 r3436  
    268268  }
    269269
     270  // Remember Last Correction Time
     271  // -----------------------------
     272  if (!_lastCorrTime.valid() || _lastCorrTime < newCorr->tt) {
     273    _lastCorrTime = newCorr->tt;
     274  }
     275
    270276  // Process previous Epoch(s)
    271277  // -------------------------
     278  const double waitTime = 20.0; // wait 20 seconds
    272279  QListIterator<bncTime> itTime(_buffer.keys());
    273280  while (itTime.hasNext()) {
    274281    bncTime epoTime = itTime.next();
    275     if (epoTime < newCorr->tt) {
     282    if (epoTime < _lastCorrTime - waitTime) {
    276283      _resTime = epoTime;
    277284      processEpoch();
  • trunk/BNC/combination/bnccomb.h

    r3434 r3436  
    7979
    8080  QList<cmbAC*>           _ACs;
     81  bncTime                 _lastCorrTime;
    8182  bncTime                 _resTime;
    8283  QVector<cmbParam*>      _params;
Note: See TracChangeset for help on using the changeset viewer.