Changeset 3668 in ntrip


Ignore:
Timestamp:
Feb 11, 2012, 6:02:08 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/ephemeris.cpp

    r3667 r3668  
    800800  }
    801801
     802  // RINEX Format
     803  // ------------
     804  int fieldLen = 19;
     805
    802806  int pos[4];
    803807  pos[0] = (rnxVersion <= 2.12) ?  3 :  4;
    804   pos[1] = (rnxVersion <= 2.12) ? 22 : 23;
    805   pos[2] = (rnxVersion <= 2.12) ? 41 : 42;
    806   pos[3] = (rnxVersion <= 2.12) ? 60 : 61;
    807 
    808   int fieldLen = 19;
     808  pos[1] = pos[0] + fieldLen;
     809  pos[2] = pos[1] + fieldLen;
     810  pos[3] = pos[2] + fieldLen;
    809811
    810812  // Read eight lines
Note: See TracChangeset for help on using the changeset viewer.