Changeset 5934 in ntrip


Ignore:
Timestamp:
Aug 15, 2014, 11:02:26 AM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppRun.cpp

    r5933 r5934  
    176176      map<string, t_frqObs*> frqObsMap;
    177177      for (unsigned iEntry = 0; iEntry < GNSSENTRY_NUMBER; iEntry++) {
    178         string hlp(t_rnxObsFile::type2to3(oldObs.satSys, oldObs.rnxStr(iEntry)).toAscii().data());
     178
     179        QString rnxStr = oldObs.rnxStr(iEntry);
     180        if (rnxStr.length() == 2) {
     181          rnxStr = t_rnxObsFile::type2to3(oldObs.satSys, rnxStr);
     182        }
     183        string hlp = rnxStr.toAscii().data();
    179184
    180185        if (hlp.length() >= 2 && oldObs._measdata[iEntry] != 0.0) {
Note: See TracChangeset for help on using the changeset viewer.