Changeset 10327 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp


Ignore:
Timestamp:
Feb 8, 2024, 12:17:36 PM (8 months ago)
Author:
stuerze
Message:

changes regarding PPP

File:
1 edited

Legend:

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

    r10326 r10327  
    326326                                    const vector<t_pppSatObs*> &obsVector) {
    327327
    328   const double SLIP = 20.0;
     328  double SLIP = 20.0;
     329  double fac = 1.0;
     330  if (_lastEpoTimeOK.valid()) {
     331    fac = _epoTime - _lastEpoTimeOK;
     332    if (fac > 60.0 || fac < 1.0) {
     333      fac = 1.0;
     334    }
     335  }
     336  SLIP *= fac;
    329337  string epoTimeStr = string(_epoTime);
    330338  const vector<t_pppParam*> &params = _parlist->params();
Note: See TracChangeset for help on using the changeset viewer.