Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 1972)
+++ trunk/BNC/bncgetthread.cpp	(revision 1973)
@@ -424,6 +424,5 @@
       _latencyChecker->checkCorrLatency(_decoder->corrGPSEpochTime());
 
-      emit newLatency(_staID, _latencyChecker->meanLatency());
-      printf("%s: Mean latency in bncgetthread: %f ms\n", _staID.data(), _latencyChecker->meanLatency());
+      emit newLatency(_staID, _latencyChecker->currentLatency());
 
       scanRTCM();            
Index: trunk/BNC/latencychecker.cpp
===================================================================
--- trunk/BNC/latencychecker.cpp	(revision 1972)
+++ trunk/BNC/latencychecker.cpp	(revision 1973)
@@ -309,6 +309,4 @@
 void latencyChecker::checkObsLatency(const QList<p_obs>& obsList) {
 
-  _meanLatency = 0.0;
-
   if ( _checkMountPoint == _staID || _checkMountPoint == "ALL" ) {
     if (_perfIntr > 0 ) {
@@ -332,5 +330,4 @@
                   .arg(_numGaps)
                   .toAscii(), true) );
-                _meanLatency = _sumLat/_numLat*1000.;
               } else {
                 emit( newMessage(QString("%1: Mean latency %2 sec, min %3, max %4, rms %5, %6 epochs")
@@ -342,5 +339,4 @@
                   .arg(_numLat)
                   .toAscii(), true) );
-                _meanLatency = _sumLat/_numLat*1000.;
               }
             }
@@ -399,6 +395,4 @@
 //////////////////////////////////////////////////////////////////////////////
 void latencyChecker::checkCorrLatency(int corrGPSEpochTime) {
-
-  _meanLatency = 0.0;
 
   if (corrGPSEpochTime < 0) {
@@ -436,5 +430,4 @@
               .arg(_numGaps);
               emit(newMessage(QString(_staID + late ).toAscii(), true) );
-              _meanLatency = _sumLat/_numLat*1000.;
             } 
             else {
@@ -446,5 +439,4 @@
               .arg(_numLat);
               emit(newMessage(QString(_staID + late ).toAscii(), true) );
-              _meanLatency = _sumLat/_numLat*1000.;
             }
           }
Index: trunk/BNC/latencychecker.h
===================================================================
--- trunk/BNC/latencychecker.h	(revision 1972)
+++ trunk/BNC/latencychecker.h	(revision 1973)
@@ -40,5 +40,5 @@
   void checkObsLatency(const QList<p_obs>& obsList);
   void checkCorrLatency(int corrGPSEpochTime);
-  double meanLatency() const {return _meanLatency;}
+  double currentLatency() const {return _curLat;}
 
  signals:
@@ -73,5 +73,4 @@
   double     _maxLat;
   double     _curLat;
-  double     _meanLatency;
   QByteArray _staID;
   QString    _adviseScript;
