Changeset 6559 in ntrip


Ignore:
Timestamp:
Jan 21, 2015, 5:57:23 PM (10 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r6557 r6559  
    6464  bncSettings settings;
    6565  QString     intr  = settings.value("uploadIntr").toString();
    66   QStringList help  = settings.value("combineStreams").toStringList();
    67   if (help.size() > 1) { // combination stream upload
     66  QStringList hlp  = settings.value("combineStreams").toStringList();
     67  _samplRtcmEphCorr = settings.value("uploadSamplRtcmEphCorr").toDouble();
     68  if (hlp.size() > 1) { // combination stream upload
    6869    _samplRtcmClkCorr  = settings.value("cmbSampl").toInt();
    6970  } else { // single stream upload or sp3 file generation
    7071    _samplRtcmClkCorr  = 5; // default
    7172  }
    72   _samplRtcmEphCorr  = settings.value("uploadSamplRtcmEphCorr").toDouble();
    7373  int samplClkRnx    = settings.value("uploadSamplClkRnx").toInt();
    7474  int samplSp3       = settings.value("uploadSamplSp3").toInt() * 60;
     
    311311  int ephUpdInd = clkUpdInd; // default
    312312
    313   if (_samplRtcmEphCorr != 5) {
     313  if (_samplRtcmClkCorr > 5.0 && _samplRtcmEphCorr <= 5.0) { // combined orb and clock
     314    ephUpdInd = determineUpdateInd(_samplRtcmClkCorr);
     315  }
     316  if (_samplRtcmClkCorr > 5.0) {
     317    clkUpdInd = determineUpdateInd(_samplRtcmClkCorr);
     318  }
     319  if (_samplRtcmEphCorr > 5.0) {
    314320    ephUpdInd = determineUpdateInd(_samplRtcmEphCorr);
    315   }
    316   if (_samplRtcmClkCorr != 5) {
    317     clkUpdInd = determineUpdateInd(_samplRtcmClkCorr);
    318321  }
    319322
Note: See TracChangeset for help on using the changeset viewer.