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