Changeset 1826 in ntrip for trunk/clock_and_orbit


Ignore:
Timestamp:
May 4, 2009, 2:53:42 PM (13 years ago)
Author:
stoecker
Message:

fixed long data blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/clock_and_orbit/clock_orbit_rtcm.c

    r1819 r1826  
    33        Name:           clock_orbit_rtcm.c
    44        Project:        RTCM3
    5         Version:        $Id: clock_orbit_rtcm.c,v 1.9 2009/04/24 09:17:24 weber Exp $
     5        Version:        $Id: clock_orbit_rtcm.c,v 1.10 2009/04/30 09:14:40 weber 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.