Changeset 8218 in ntrip


Ignore:
Timestamp:
Dec 13, 2017, 1:40:38 PM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/ephemeris.cpp

    r8216 r8218  
    729729unsigned int t_ephGlo::isUnhealthy() const {
    730730
    731   switch (_almanac_health_availablility_indicator) {
    732     case 1:
     731  if (_almanac_health_availablility_indicator) {
    733732      if ((_health == 0 && _almanac_health == 0) ||
    734733          (_health == 1 && _almanac_health == 0) ||
     
    736735        return 1;
    737736      }
    738       break;
    739     case 0:
    740       if (_health) {
    741         return 1;
    742       }
    743       break;
     737  }
     738  else if (!_almanac_health_availablility_indicator) {
     739    if (_health) {
     740      return 1;
     741    }
    744742  }
    745743  return 0; /* (_health == 0 && _almanac_health == 1) or (_health == 0) */
Note: See TracChangeset for help on using the changeset viewer.