Changeset 2500 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Jun 18, 2010, 10:23:50 AM (10 years ago)
Author:
stoecker
Message:

patch regarding lockloss by Edgar Johansen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r2491 r2500  
    528528          GETBITS(i, 7);
    529529          lastlockl1[sv] = i;
    530           if(handle->lastlockGPSl1[sv] > i)
     530          if(handle->lastlockGPSl1[sv] > i || i == 0)
    531531            gnss->dataflags[num] |= GNSSDF_LOCKLOSSL1;
    532532          if(type == 1002 || type == 1004)
     
    585585            GETBITS(i,7);
    586586            lastlockl2[sv] = i;
    587             if(handle->lastlockGPSl2[sv] > i)
     587            if(handle->lastlockGPSl2[sv] > i || i == 0)
    588588              gnss->dataflags[num] |= GNSSDF_LOCKLOSSL2;
    589589            if(type == 1004)
     
    706706          GETBITS(i, 7)
    707707          lastlockl1[sv] = i;
    708           if(handle->lastlockGLOl1[sv] > i)
     708          if(handle->lastlockGLOl1[sv] > i || i == 0)
    709709            gnss->dataflags[num] |= GNSSDF_LOCKLOSSL1;
    710710          if(type == 1010 || type == 1012)
     
    761761            GETBITS(i,7)
    762762            lastlockl2[sv] = i;
    763             if(handle->lastlockGLOl2[sv] > i)
     763            if(handle->lastlockGLOl2[sv] > i || i == 0)
    764764              gnss->dataflags[num] |= GNSSDF_LOCKLOSSL2;
    765765            if(type == 1012)
Note: See TracChangeset for help on using the changeset viewer.