Changeset 7386 in ntrip


Ignore:
Timestamp:
Sep 25, 2015, 10:26:29 AM (9 years ago)
Author:
weber
Message:

String waitTime changed to outWait

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccaster.cpp

    r7358 r7386  
    9797
    9898  _samplingRate = settings.value("outSampl").toInt();
    99   _waitTime     = settings.value("waitTime").toDouble();
    100   if (_waitTime <= 0.0) {
    101     _waitTime = 0.01;
     99  _outWait      = settings.value("outWait").toDouble();
     100  if (_outWait <= 0.0) {
     101    _outWait = 0.01;
    102102  }
    103103  _confInterval = -1;
     
    217217    // Dump Epochs
    218218    // -----------
    219     if (obs._time - _waitTime > _lastDumpTime) {
    220       dumpEpochs(obs._time - _waitTime);
    221       _lastDumpTime = obs._time - _waitTime;
     219    if (obs._time - _outWait > _lastDumpTime) {
     220      dumpEpochs(obs._time - _outWait);
     221      _lastDumpTime = obs._time - _outWait;
    222222    }
    223223  }
     
    373373  // ----------------------
    374374  _samplingRate = settings.value("outSampl").toInt();
    375   _waitTime     = settings.value("waitTime").toInt();
    376   if (_waitTime < 1) {
    377     _waitTime = 1;
     375  _outWait      = settings.value("outWait").toInt();
     376  if (_outWait < 1) {
     377    _outWait = 1;
    378378  }
    379379
Note: See TracChangeset for help on using the changeset viewer.