Changeset 9107 in ntrip for trunk/BNC/src/bnccaster.cpp


Ignore:
Timestamp:
Sep 15, 2020, 10:05:45 AM (8 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9096 r9107  
    106106  _outLockTime = settings.value("outLockTime",false).toBool();
    107107  _samplingRateMult10 = int(settings.value("outSampl").toString().split("sec").first().toDouble() * 10.0);
    108   _outWait            = settings.value("outWait").toInt();
    109   if (_outWait < 1) {
    110     _outWait = 1;
     108  _outWait      = settings.value("outWait").toDouble();
     109  if (_outWait <= 0.0) {
     110    _outWait = 0.01;
    111111  }
    112112  _confInterval = -1;
     
    239239    // Dump Epochs
    240240    // -----------
    241     double outWait = (double)_outWait;
    242     if ((obs._time - outWait) > _lastDumpTime) {
    243       dumpEpochs(obs._time - outWait);
    244       _lastDumpTime = obs._time - outWait;
     241    if ((obs._time - _outWait) > _lastDumpTime) {
     242      dumpEpochs(obs._time - _outWait);
     243      _lastDumpTime = obs._time - _outWait;
    245244    }
    246245  }
Note: See TracChangeset for help on using the changeset viewer.