Changeset 1820 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Apr 30, 2009, 11:14:40 AM (16 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/clock_orbit_rtcm.c

    r1809 r1820  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id: clock_orbit_rtcm.c,v 1.4 2009/04/24 08:36:34 stoecker Exp $
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.5 2009/04/30 08:41:49 stoecker Exp $
    66        Authors:        Dirk Stöcker
    77        Description:    state space approach for RTCM3
     
    128128  int gpshr=0, gpsur=0, gpsor=0, gpscl=0, gpsco=0, glohr=0, glour=0, gloor=0,
    129129  glocl=0, gloco=0, mmi, i;
     130
    130131  STARTDATA
    131132
     
    397398  }
    398399
     400
    399401  return ressize;
    400402}
     
    404406{
    405407  int gps, glo, mmi, i, j;
     408
    406409  STARTDATA
    407410
     
    575578const char *buffer, size_t size, int *bytesused)
    576579{
    577   int type, mmi=0, i, j, h, rs, sizeofrtcmblock;
     580  int type, mmi=0, i, j, h, rs;
     581  size_t sizeofrtcmblock;
    578582  const char *blockstart = buffer;
    579583  DECODESTART
     
    591595    return GCOBR_MESSAGEEXCEEDSBUFFER;
    592596  if(CRC24(sizeofrtcmblock+3, (const unsigned char *) blockstart) !=
    593   ((((unsigned char)buffer[sizeofrtcmblock])<<16)|
     597  (uint32_t)((((unsigned char)buffer[sizeofrtcmblock])<<16)|
    594598   (((unsigned char)buffer[sizeofrtcmblock+1])<<8)|
    595599   (((unsigned char)buffer[sizeofrtcmblock+2]))))
Note: See TracChangeset for help on using the changeset viewer.