Changeset 9140 in ntrip


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

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r9129 r9140  
    887887      || bias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) {
    888888    char obuffer[CLOCKORBIT_BUFFERSIZE];
    889     int len = _ssrCorr->MakeCodeBias(&bias, _ssrCorr->CBTYPE_AUTO, 0, obuffer, sizeof(obuffer));
    890     if (len > 0) {
    891       hlpBufferBias = QByteArray(obuffer, len);
     889    if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     890      int len = _ssrCorr->MakeCodeBias(&bias, _ssrCorr->CBTYPE_AUTO, 0, obuffer, sizeof(obuffer));
     891      if (len > 0) {
     892        hlpBufferBias = QByteArray(obuffer, len);
     893      }
    892894    }
    893895  }
     
    904906      && (_phaseBiasInformationDecoded)) {
    905907    char obuffer[CLOCKORBIT_BUFFERSIZE];
    906     int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer,
    907         sizeof(obuffer));
    908     if (len > 0) {
    909       hlpBufferPhaseBias = QByteArray(obuffer, len);
     908    if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     909      int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer, sizeof(obuffer));
     910      if (len > 0) {
     911        hlpBufferPhaseBias = QByteArray(obuffer, len);
     912      }
    910913    }
    911914  }
Note: See TracChangeset for help on using the changeset viewer.