Changeset 2352 in ntrip for trunk/rtcm3torinex/rtcm3torinex.h


Ignore:
Timestamp:
Mar 5, 2010, 12:11:06 PM (15 years ago)
Author:
stoecker
Message:

fixed overflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.h

    r2346 r2352  
    44/*
    55  Converter for RTCM3 data to RINEX.
    6   $Id: rtcm3torinex.h,v 1.19 2010/01/12 12:13:23 mervart Exp $
     6  $Id: rtcm3torinex.h,v 1.11 2010/03/01 13:48:25 stoecker Exp $
    77  Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu>
    88
     
    2424
    2525#include <stdio.h>
     26
     27#define GNSS_MAXSATS 64
    2628
    2729#define PRN_GPS_START             1
     
    114116  int    numsats;
    115117  double timeofweek;         /* milliseconds in GPS week */
    116   double measdata[24][GNSSENTRY_NUMBER];  /* data fields */
    117   int    dataflags[24];      /* GPSDF_xxx */
    118   int    satellites[24];     /* SV - IDs */
    119   int    channels[24];       /* Glonass channels - valid of Glonass SV only */
    120   int    snrL1[24];          /* Important: all the 5 SV-specific fields must */
    121   int    snrL2[24];          /* have the same SV-order */
     118  double measdata[GNSS_MAXSATS][GNSSENTRY_NUMBER];  /* data fields */
     119  int    dataflags[GNSS_MAXSATS];      /* GPSDF_xxx */
     120  int    satellites[GNSS_MAXSATS];     /* SV - IDs */
     121  int    channels[GNSS_MAXSATS];       /* Glonass channels - valid of Glonass SV only */
     122  int    snrL1[GNSS_MAXSATS];          /* Important: all the 5 SV-specific fields must */
     123  int    snrL2[GNSS_MAXSATS];          /* have the same SV-order */
    122124};
    123125
Note: See TracChangeset for help on using the changeset viewer.