- Timestamp:
- Aug 18, 2014, 10:00:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRun.cpp
r6000 r6001 585 585 bool t_pppRun::waitForCorr(const bncTime& epoTime) const { 586 586 587 if (!_opt->_realTime || opt->_corrMount.empty()) {587 if (!_opt->_realTime || _opt->_corrMount.empty()) { 588 588 return false; 589 589 } 590 590 else if (!_lastClkCorrTime.valid()) { 591 return true; 592 } 593 else { 594 double dt = epoTime - _lastClkCorrTime; 595 if (dt > 1.0 && dt < _opt->_corrWaitTime) { 596 return true; 597 } 598 else { 599 return false; 600 } 601 } 591 602 return false; 592 603 }
Note:
See TracChangeset
for help on using the changeset viewer.