Changeset 9141 in ntrip


Ignore:
Timestamp:
Sep 29, 2020, 12:13:41 PM (4 weeks ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r9130 r9141  
    885885      || bias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) {
    886886    char obuffer[CLOCKORBIT_BUFFERSIZE];
    887     int len = _ssrCorr->MakeCodeBias(&bias, _ssrCorr->CBTYPE_AUTO, 0, obuffer, sizeof(obuffer));
    888     if (len > 0) {
    889       hlpBufferBias = QByteArray(obuffer, len);
     887    if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     888      int len = _ssrCorr->MakeCodeBias(&bias, _ssrCorr->CBTYPE_AUTO, 0, obuffer, sizeof(obuffer));
     889      if (len > 0) {
     890        hlpBufferBias = QByteArray(obuffer, len);
     891      }
    890892    }
    891893  }
     
    902904      && (_phaseBiasInformationDecoded)) {
    903905    char obuffer[CLOCKORBIT_BUFFERSIZE];
    904     int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer,
    905         sizeof(obuffer));
    906     if (len > 0) {
    907       hlpBufferPhaseBias = QByteArray(obuffer, len);
     906    if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) {
     907      int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer, sizeof(obuffer));
     908      if (len > 0) {
     909        hlpBufferPhaseBias = QByteArray(obuffer, len);
     910      }
    908911    }
    909912  }
Note: See TracChangeset for help on using the changeset viewer.