Changeset 7545 in ntrip for trunk/BNC


Ignore:
Timestamp:
Oct 21, 2015, 4:59:55 PM (9 years ago)
Author:
stuerze
Message:

minor changes regarding SATNUM output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_SSR_I/pppFilter.cpp

    r7544 r7545  
    10341034                    OPT->ambLCs('E').size() || OPT->ambLCs('C').size() ;
    10351035
    1036     bool satnumPrinted = false;
     1036    char sys[] ={'G', 'R', 'E', 'C'};
     1037
     1038    bool satnumPrinted[] = {false, false, false, false};
     1039
    10371040    for (int iPhase = 0; iPhase <= (usePhase ? 1 : 0); iPhase++) {
    10381041
     
    10471050      nObs = epoData->sizeAll();
    10481051      bool useObs = false;
    1049       char sys[] ={'G', 'R', 'E', 'C'};
    10501052      for (unsigned ii = 0; ii < sizeof(sys); ii++) {
    10511053        const char s = sys[ii];
     
    10551057        }
    10561058        else {
    1057           if (!satnumPrinted) {
     1059          if (!satnumPrinted[ii]) {
     1060            satnumPrinted[ii] = true;
    10581061            LOG << _time.datestr() << "_" << _time.timestr(3)
    10591062                << " SATNUM " << s << ' ' << right << setw(2)
     
    10621065        }
    10631066      }
    1064       satnumPrinted = true;
    10651067
    10661068      // Prepare first-design Matrix, vector observed-computed
Note: See TracChangeset for help on using the changeset viewer.