Changeset 2938 in ntrip for trunk/BNC/bncantex.cpp


Ignore:
Timestamp:
Jan 30, 2011, 12:53:57 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncantex.cpp

    r2894 r2938  
    206206// Phase Center Offset (Receiver Antenna and GPS only)
    207207////////////////////////////////////////////////////////////////////////////
    208 double bncAntex::pco(const QString& antName, double eleSat) {
     208double bncAntex::pco(const QString& antName, double eleSat, bool& found) {
    209209
    210210  static const double f1 = t_CST::freq1;
     
    215215  QMap<QString, t_antMap*>::const_iterator it = _maps.find(antName);
    216216  if (it != _maps.end()) {
     217    found = true;
    217218    t_antMap* map = it.value();
    218219    if (map->frqMapL1 && map->frqMapL2) {
     
    222223    }
    223224  }
     225  else {
     226    found = false;
     227  }
    224228
    225229  return 0.0;
Note: See TracChangeset for help on using the changeset viewer.