Changeset 10031 in ntrip for trunk/BNC/src/PPP/pppClient.cpp


Ignore:
Timestamp:
Apr 14, 2023, 11:56:49 AM (13 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r10028 r10031  
    474474    bool epochReProcessing = false;
    475475    _numEpoProcessing = 0;
    476     _historicalRefSats.clear();
     476    if (!_historicalRefSats.isEmpty()) {
     477      _historicalRefSats.clear();
     478    }
    477479
    478480    do {
    479       _numEpoProcessing++;
     481      if ((_numEpoProcessing++) > 30) {
     482        LOG << "t_pppClient::processEpoch:  _numEpoProcessing > 30" << endl;
     483        return finish(failure,12);
     484      }
     485
    480486      if (_obsPool->refSatChanged()) {
    481487        if(_filter->datumTransformation(_refSatMap) != success) {
     
    488494        }
    489495      }
     496
    490497      // Prepare Observations of the Rover
    491498      // ---------------------------------
     
    538545      LOG << "PUT EPOCH t_pppClient::processEpoch " << _epoTimeRover.timestr().c_str() << endl;
    539546#endif
    540      
     547
    541548      // Process Epoch in Filter
    542549      // -----------------------
     
    552559        LOG << "pppClient: _obsPool->refSatChangeRequired() " << endl;
    553560        epochReProcessing = true;
    554 #ifdef BNC_DEBUG_PPP       
     561#ifdef BNC_DEBUG_PPP
    555562        LOG <<  "DELETE EPOCH" << endl;
    556 #endif       
     563#endif
    557564        _obsPool->deleteLastEpoch();
    558565        _filter->restoreState(0);
     
    585592    return finish(failure,11);
    586593  }
    587   return finish(success,12);
     594  return finish(success,0);
    588595}
    589596
Note: See TracChangeset for help on using the changeset viewer.