Changeset 2920 in ntrip


Ignore:
Timestamp:
Jan 27, 2011, 6:22:22 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r2919 r2920  
    7575  }
    7676
     77  // Check Modulo Time
     78  // -----------------
     79  const int moduloTime = 10;
     80  if (int(newCorr->tt.gpssec()) % moduloTime != 0.0) {
     81    delete newCorr;
     82    return;
     83  }
     84
    7785  // Find/Create the instance of cmbEpoch class
    7886  // ------------------------------------------
     
    106114void bncComb::processEpochsBefore(const bncTime& time) {
    107115
    108   const double waitTime = 20.0; // wait 10 seconds
     116  const double waitTime = 10.0; // wait 10 seconds
    109117
    110118  bool corrProcessed = false;
     
    132140
    133141      if (dt >= waitTime) {
     142        if (dt > waitTime) {
     143          cout << "delete " << AC->name.toAscii().data() << " "
     144               << epoch->time.timestr() << " " << endl;
     145        }
    134146        delete epoch;
    135147        itEpo.remove();
Note: See TracChangeset for help on using the changeset viewer.