Changeset 7386 in ntrip
- Timestamp:
- Sep 25, 2015, 10:26:29 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccaster.cpp
r7358 r7386 97 97 98 98 _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; 102 102 } 103 103 _confInterval = -1; … … 217 217 // Dump Epochs 218 218 // ----------- 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; 222 222 } 223 223 } … … 373 373 // ---------------------- 374 374 _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; 378 378 } 379 379
Note:
See TracChangeset
for help on using the changeset viewer.