Changeset 10243 in ntrip
- Timestamp:
- Nov 6, 2023, 10:12:57 PM (13 months ago)
- Location:
- trunk/BNC/src/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10239 r10243 132 132 _cmbSampl = 5; 133 133 } 134 135 _cmbWait = settings.value("cmbWait").toInt();136 if (_cmbWait <= 0) {137 _cmbSampl = 10;138 }139 140 134 _useGps = (Qt::CheckState(settings.value("cmbGps").toInt()) == Qt::Checked) ? true : false; 141 135 if (_useGps) { … … 457 451 void bncComb::slotNewClkCorrections(QList<t_clkCorr> clkCorrections) { 458 452 QMutexLocker locker(&_mutex); 453 const double outWait = 1.0 * _cmbSampl; 459 454 int currentWeek = 0; 460 455 double currentSec = 0.0; … … 581 576 // Process the front epoch 582 577 // ----------------------- 583 if (epoTime < (_lastClkCorrTime - _cmbWait)) {578 if (epoTime < (_lastClkCorrTime - outWait)) { 584 579 _resTime = epoTime; 585 580 processEpoch(_resTime, clkCorrVec); -
trunk/BNC/src/combination/bnccomb.h
r10239 r10243 256 256 e_method _method; 257 257 int _cmbSampl; 258 int _cmbWait;259 258 int _ms; 260 259 QMap<char, cmbEpoch> _buffer;
Note:
See TracChangeset
for help on using the changeset viewer.