Ticket #5: date.patch

File date.patch, 1003 bytes (added by johansen, 12 years ago)
  • rtcm3torinex.c

    diff -uprN orig/rtcm3torinex.c new/rtcm3torinex.c
    old new int RTCM3Parser(struct RTCM3ParserData *  
    335335        ret = type;
    336336      }
    337337      break;
     338    case 1013:
     339      {
     340        SKIPBITS(12);
     341        GETBITS(handle->modjulday, 16);
     342        GETBITS(handle->secofday, 17);
     343        SKIPBITS(5);
     344        GETBITS(handle->leapsec, 8);
     345        ret = 1013;
     346      }
     347      break;
    338348#endif /* NO_RTCM3_MAIN */
    339349    case 1019:
    340350      {
  • rtcm3torinex.h

    diff -uprN orig/rtcm3torinex.h new/rtcm3torinex.h
    old new struct RTCM3ParserData {  
    219219  double antH;
    220220  char   antenna[256+1];
    221221  int    blocktype;
     222  int    modjulday;
     223  int    secofday;
     224  int    leapsec;
    222225#endif /* NO_RTCM3_MAIN */
    223226  int    datapos[RINEXENTRY_NUMBER];
    224227  int    dataflag[RINEXENTRY_NUMBER];