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


Ignore:
Timestamp:
Mar 22, 2011, 3:40:37 PM (13 years ago)
Author:
weber
Message:

Option Max Solution Gap added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3108 r3114  
    468468  _time = epoData->tt; // current epoch time
    469469
    470   const double MAXSOLGAP = 60.0;
    471 
    472470  bool firstCrd = false;
    473   if (!_lastTimeOK.valid() || _time - _lastTimeOK > MAXSOLGAP) {
     471  if (!_lastTimeOK.valid() || _time - _lastTimeOK > settings.value("pppMaxSolGap").toDouble() ) {
    474472    firstCrd = true;
    475473    _startTime = epoData->tt;
Note: See TracChangeset for help on using the changeset viewer.