Changeset 1827 in ntrip for trunk/BNC


Ignore:
Timestamp:
May 5, 2009, 9:00:56 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1820 r1827  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id: clock_orbit_rtcm.c,v 1.5 2009/04/30 08:41:49 stoecker Exp $
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.6 2009/05/04 12:53:42 stoecker Exp $
    66        Authors:        Dirk Stöcker
    77        Description:    state space approach for RTCM3
     
    7979    blockstart[1] |= len>>8; \
    8080    blockstart[2] = len; \
     81    if(len > 1023) \
     82      return 0; \
    8183    len = CRC24(len+3, (const unsigned char *) blockstart); \
    8284    ADDBITS(24, len) \
     
    144146    gpscl = 1;
    145147  if(co->NumberOfGPSSat && co->ClockDataSupplied && co->OrbitDataSupplied
    146   && (type == COTYPE_AUTO || type == COTYPE_GPSCOMBINED))
     148  && (type == COTYPE_AUTO || type == COTYPE_GPSCOMBINED)
     149  && co->NumberOfGPSSat < 28)
    147150  {
    148151    gpsco = 1; gpsor = 0; gpscl = 0;
     
    397400    ENDBLOCK
    398401  }
    399 
    400402
    401403  return ressize;
Note: See TracChangeset for help on using the changeset viewer.