Changeset 9096 in ntrip for trunk/BNC/src/bnccaster.cpp


Ignore:
Timestamp:
Sep 3, 2020, 3:12:14 PM (4 years ago)
Author:
stuerze
Message:

bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccaster.cpp

    r9088 r9096  
    598598  QMap<t_prn, double>& ltMap = _lockTimeMap[obs._staID];
    599599  QMap<t_prn, int>&    jcMap = _jumpCounterMap[obs._staID];
    600 
    601600  QMap<t_prn, double>::const_iterator it = ltMap.find(obs._prn);
    602   if (it == ltMap.end()) {
     601  if (it == ltMap.end()) { // init satellite
    603602    ltMap[obs._prn] = minLockTime;
    604603    jcMap[obs._prn] = 0;
    605604  }
    606605  else {
    607     if (ltMap[obs._prn] < minLockTime) {
    608       ltMap[obs._prn] = minLockTime;
     606    if (minLockTime < ltMap[obs._prn]) {
    609607      jcMap[obs._prn] += 1;
    610608      if (jcMap[obs._prn] > 9999) {
     
    612610      }
    613611    }
     612    ltMap[obs._prn] = minLockTime;
    614613  }
    615614  for (unsigned ii = 0; ii < obs._obs.size(); ii++) {
Note: See TracChangeset for help on using the changeset viewer.