Changeset 498 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Oct 1, 2007, 1:07:08 PM (17 years ago)
Author:
stoecker
Message:

minor SBAS fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.c

    r479 r498  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.20 2007/08/06 07:43:26 stoecker Exp $
     3  $Id: rtcm3torinex.c,v 1.21 2007/08/14 10:14:37 stoecker Exp $
    44  Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.20 $";
     53static char revisionstr[] = "$Revision: 1.21 $";
    5454
    5555#ifndef COMPILEDATE
     
    937937        && Parser->Data.satellites[i] <= PRN_GLONASS_END)
    938938          RTCM3Text("R%02d", Parser->Data.satellites[i] - (PRN_GLONASS_START-1));
     939        else if(Parser->Data.satellites[i] >= PRN_WAAS_START
     940        && Parser->Data.satellites[i] <= PRN_WAAS_END)
     941          RTCM3Text("S%02d", Parser->Data.satellites[i] - PRN_WAAS_START+20);
    939942        else
    940943          RTCM3Text("%3d", Parser->Data.satellites[i]);
     
    955958          else if(Parser->Data.satellites[i] >= PRN_WAAS_START
    956959          && Parser->Data.satellites[i] <= PRN_WAAS_END)
    957             RTCM3Text("S%02d", Parser->Data.satellites[i] - PRN_WAAS_START);
     960            RTCM3Text("S%02d", Parser->Data.satellites[i] - PRN_WAAS_START+20);
    958961          else
    959962            RTCM3Text("%3d", Parser->Data.satellites[i]);
     
    10211024
    10221025#ifndef NO_RTCM3_MAIN
    1023 static char datestr[]     = "$Date: 2007/08/06 07:43:26 $";
     1026static char datestr[]     = "$Date: 2007/08/14 10:14:37 $";
    10241027
    10251028/* The string, which is send as agent in HTTP request */
Note: See TracChangeset for help on using the changeset viewer.