Changeset 3118 in ntrip for trunk/BNC/bncmodel.cpp


Ignore:
Timestamp:
Mar 23, 2011, 11:44:23 AM (13 years ago)
Author:
weber
Message:

Maximuml Solution Gap introduced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3114 r3118  
    468468  _time = epoData->tt; // current epoch time
    469469
     470  _maxSolGap = settings.value("pppMaxSolGap").toDouble();
     471
    470472  bool firstCrd = false;
    471   if (!_lastTimeOK.valid() || _time - _lastTimeOK > settings.value("pppMaxSolGap").toDouble() ) {
     473  if (!_lastTimeOK.valid() || (_maxSolGap > 0 && _time - _lastTimeOK > _maxSolGap)) {
    472474    firstCrd = true;
    473475    _startTime = epoData->tt;
Note: See TracChangeset for help on using the changeset viewer.