Changeset 5366 in ntrip


Ignore:
Timestamp:
Aug 29, 2013, 1:27:58 PM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/RTCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/GPSDecoder.cpp

    r5357 r5366  
    127127
    128128  for (int ie = 0; ie <  GNSSENTRY_NUMBER; ie++) {
    129     if (rnxStr.mid(1) == QString(_codetype[ie])) {
     129    if (rnxStr.mid(1) == _codetype[ie]) {
    130130      if      (rnxStr[0] == 'C') {
    131131        return ie + GNSSENTRY_CODE;
     
    158158    case GNSSENTRY_SNR:     str[0] = 'S'; break;
    159159  }
    160   if (_codetype[iEntry]) {
     160  if (!_codetype[iEntry].isEmpty()) {
    161161    str[1] = _codetype[iEntry][0];
    162162    str[2] = _codetype[iEntry][1];
  • trunk/BNC/src/RTCM/GPSDecoder.h

    r4774 r5366  
    5252    for (int ie = 0; ie < GNSSENTRY_NUMBER; ie++) {
    5353      _measdata[ie] = 0.0;
    54       _codetype[ie] = 0;
    5554    }
    5655    slip_cnt_L1 = -1;
     
    9291  unsigned long long _dataflags;                   // GNSSDF_xxx */
    9392  unsigned int       _dataflags2;                  // GNSSDF2_xxx */
    94   const char*        _codetype[GNSSENTRY_NUMBER];
     93  QString            _codetype[GNSSENTRY_NUMBER];
    9594
    9695  QString rnxStr(int iEntry) const;
Note: See TracChangeset for help on using the changeset viewer.