Changeset 133 in ntrip


Ignore:
Timestamp:
Sep 7, 2006, 10:50:44 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r93 r133  
    5252
    5353  _lastDumpSec   = 0;
     54
     55  QSettings settings;
     56  _samplingRate = settings.value("rnxSampl").toInt();
    5457}
    5558
     
    8487    delete obs;
    8588    return;
     89  }
     90
     91  // Check the sampling rate
     92  // -----------------------
     93  if (_samplingRate != 0) {
     94    if ( newTime % _samplingRate ) {
     95      delete obs;
     96      return;
     97    }
    8698  }
    8799
Note: See TracChangeset for help on using the changeset viewer.