Changeset 702 in ntrip for trunk/BNC/RTCM
- Timestamp:
- Feb 27, 2008, 3:43:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/RTCM2Decoder.cpp
r657 r702 68 68 double refSecs; 69 69 currentGPSWeeks(refWeek, refSecs); 70 bool decoded = false; 70 71 71 72 while(true) { 72 73 _PP.getPacket(_buffer); 73 74 if (!_PP.valid()) { 74 return failure; 75 if (decoded) { 76 return success; 77 } else { 78 return failure; 79 } 75 80 } 76 81 … … 80 85 81 86 if (_ObsBlock.valid()) { 87 decoded = true; 82 88 83 89 int epochWeek; … … 105 111 } 106 112 _ObsBlock.clear(); 107 return success;108 113 } 109 114 }
Note:
See TracChangeset
for help on using the changeset viewer.