Changeset 3734 in ntrip for trunk/BNC/bncapp.cpp


Ignore:
Timestamp:
Mar 26, 2012, 2:21:59 PM (12 years ago)
Author:
stoecker
Message:

fix crash with Galileo ephemeris available, some other valgrind fixes as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r3637 r3734  
    283283  printEphHeader();
    284284
    285   int galIndex = galileoeph->satellite - 51;
     285  int galIndex = galileoeph->satellite;
     286  /* GIOVE */
     287  if(galIndex == 51) galIndex = 1;
     288  else if(galIndex == 52) galIndex = 16;
    286289  if (galIndex < 0 || galIndex > PRN_GALILEO_END - PRN_GALILEO_START) {
    287290    emit( newMessage("Wrong Galileo Satellite Number", true) );
Note: See TracChangeset for help on using the changeset viewer.