Changeset 6443 in ntrip for trunk/BNC/src/RTCM/RTCM2Decoder.cpp
- Timestamp:
- Dec 26, 2014, 12:47:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/RTCM2Decoder.cpp
r6442 r6443 55 55 // 56 56 57 RTCM2Decoder::RTCM2Decoder(const std::string& ID) : bncEphUser(true) {57 RTCM2Decoder::RTCM2Decoder(const std::string& ID) : _ephUser(true) { 58 58 _ID = ID; 59 59 } … … 352 352 353 353 // Select corresponding ephemerides 354 if (ephLast(prn) && ephLast(prn)->IOD() == IODcorr) { 355 eph = ephLast(prn); 356 } 357 else if (ephPrev(prn) && ephPrev(prn)->IOD() == IODcorr) { 358 eph = ephPrev(prn); 354 const t_eph* ephLast = _ephUser.ephLast(prn); 355 const t_eph* ephPrev = _ephUser.ephPrev(prn); 356 if (ephLast && ephLast->IOD() == IODcorr) { 357 eph = ephLast; 358 } 359 else if (ephPrev && ephPrev->IOD() == IODcorr) { 360 eph = ephPrev; 359 361 } 360 362
Note:
See TracChangeset
for help on using the changeset viewer.