Changeset 6611 in ntrip for branches/BNC_2.11.0


Ignore:
Timestamp:
Mar 2, 2015, 9:35:57 AM (10 years ago)
Author:
stuerze
Message:

minor changes to get a correct time stamp for GLONASS corrections at the end of a week

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.11.0/src/RTCM3/RTCM3coDecoder.cpp

    r5665 r6611  
    203203          int leapSecond = gnumleap(date.year(), date.month(), date.day());
    204204          int GPSDaySec  = GLONASSEpochTime - 3 * 3600 + leapSecond;
    205 
     205          if (GPSDaySec < 0) {
     206                  GPSDaySec += 86400;
     207          }
    206208          int weekDay      = int(GPSweeksHlp/86400.0);
    207209          int GPSDaySecHlp = int(GPSweeksHlp) - weekDay * 86400;
Note: See TracChangeset for help on using the changeset viewer.