Changeset 10555 in ntrip


Ignore:
Timestamp:
Oct 2, 2024, 12:31:18 PM (6 weeks ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r10554 r10555  
    11881188    GETBITS(eph._almanac_health_availablility_indicator, 1) /* almanac health ok */
    11891189    GETBITS(eph._P1, 2) /*  P1 */
     1190    /* tk */
    11901191    GETBITS(i, 5)
    11911192    if (i < 0 || i > 23) {
  • trunk/BNC/src/RTCM3/ephEncoder.cpp

    r10215 r10555  
    162162  int tki = static_cast<int>(eph._tki)+3*60*60;
    163163  if (tki > 86400) {tki -= 86400;}
    164   GLONASSADDBITS(5, static_cast<int>(tki)/(60*60))
     164  GLONASSADDBITS(5, (tki)/(60*60))
    165165  GLONASSADDBITS(6, (static_cast<int>(tki)/60)%60)
    166166  GLONASSADDBITS(1, (static_cast<int>(tki)/30)%30)
Note: See TracChangeset for help on using the changeset viewer.