Changeset 2502 in ntrip


Ignore:
Timestamp:
Jun 29, 2010, 12:00:18 PM (14 years ago)
Author:
stoecker
Message:

fix #4 - patch by johansen - allow external specification of data types

Location:
trunk/rtcm3torinex/lib
Files:
2 edited

Legend:

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

    r2501 r2502  
    936936#ifdef NO_RTCM3_MAIN
    937937  int i;
     938  if(Parser->allflags == 0)
     939    Parser->allflags = ~0;
    938940  if(Parser->rinex3)
    939941  {
    940942#define CHECKFLAGSNEW(a, b, c) \
     943    if(Parser->allflags & GNSSDF_##b##DATA) \
    941944    { \
    942945      Parser->dataflag##a[Parser->numdatatypes##a] = GNSSDF_##b##DATA; \
     
    981984  {
    982985#define CHECKFLAGS(a, b) \
     986    if(Parser->allflags & GNSSDF_##a##DATA) \
    983987    { \
    984988      if(data[RINEXENTRY_##b##DATA]) \
  • trunk/rtcm3torinex/lib/rtcm3torinex.h

    r2501 r2502  
    220220  char   antenna[256+1];
    221221  int    blocktype;
     222  int    allflags;
    222223  int    modjulday;
    223224  int    secofday;
Note: See TracChangeset for help on using the changeset viewer.