Changeset 1910 in ntrip


Ignore:
Timestamp:
Nov 4, 2009, 5:40:16 PM (15 years ago)
Author:
zdenek
Message:

Zdenek Lukes: I fixed a bug in reading of Glonass channel number

File:
1 edited

Legend:

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

    r1909 r1910  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.25 2009/05/07 09:27:19 mervart Exp $
     3  $Id: rtcm3torinex.c,v 1.26 2009/11/04 16:19:40 zdenek Exp $
    44  Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
    55
     
    5555
    5656/* CVS revision and version */
    57 static char revisionstr[] = "$Revision: 1.25 $";
     57static char revisionstr[] = "$Revision: 1.26 $";
    5858
    5959#ifndef COMPILEDATE
     
    669669            ;
    670670
    671           if(num == gnss->numsats) {
    672             gnss->satellites[gnss->numsats] = fullsat;
    673             gnss->channels  [gnss->numsats] = freq;
    674             gnss->numsats++;
    675           }
     671          if(num == gnss->numsats)
     672            gnss->satellites[gnss->numsats++] = fullsat;
    676673
    677674          /* L1 */
    678675          GETBITS(code, 1)
    679676          GETBITS(freq, 5)
     677
     678          gnss->channels[num] = freq - 7;
     679
    680680          if(code)
    681681          {
     
    16921692
    16931693#ifndef NO_RTCM3_MAIN
    1694 static char datestr[]     = "$Date: 2009/05/07 09:27:19 $";
     1694static char datestr[]     = "$Date: 2009/11/04 16:19:40 $";
    16951695
    16961696/* The string, which is send as agent in HTTP request */
Note: See TracChangeset for help on using the changeset viewer.