Changeset 5152 in ntrip


Ignore:
Timestamp:
May 14, 2013, 1:19:07 PM (12 years ago)
Author:
stoecker
Message:

fix compass date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r4986 r5152  
    12501250        {
    12511251        case RTCM3_MSM_COMPASS:
     1252          GETBITS(i,30)
     1253          i += 14000;
     1254          if(i >= 7*24*60*60*1000)
     1255            i -= 7*24*60*60*1000;
     1256          if(i/1000 < (int)handle->GPSTOW - 86400)
     1257            ++handle->GPSWeek;
     1258          handle->GPSTOW = i/1000;
     1259          break;
    12521260        case RTCM3_MSM_GALILEO: /* use DF004 instead of DF248 */
    12531261        case RTCM3_MSM_QZSS:
Note: See TracChangeset for help on using the changeset viewer.