- Timestamp:
- Jan 22, 2008, 4:10:32 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/RTCM2Decoder.cpp
r649 r657 105 105 } 106 106 _ObsBlock.clear(); 107 return success; 107 108 } 108 109 } -
trunk/BNC/bncgetthread.cpp
r652 r657 398 398 399 399 if ( !_decodeFailure.isValid() || 400 _decodeFailure.secsTo(QDateTime::currentDateTime()) > 10 ) {400 _decodeFailure.secsTo(QDateTime::currentDateTime()) > 60 ) { 401 401 if ( _decoder->Decode(data, nBytes) == success ) { 402 402 _decodeFailure.setDate(QDate()); … … 405 405 else { 406 406 _decodeFailure = QDateTime::currentDateTime(); 407 } 408 } 409 else { 410 if ( _decodeFailure.isValid() && 411 _decodeFailure.secsTo(QDateTime::currentDateTime()) < 5 && 412 _decoder->Decode(data, nBytes) == success ) { 413 _decodeFailure.setDate(QDate()); 414 _decodeFailure.setTime(QTime()); 407 415 } 408 416 }
Note:
See TracChangeset
for help on using the changeset viewer.