]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/gps.hxx
GPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff...
[flightgear.git] / src / Instrumentation / gps.hxx
index 124bfd867f701d4303867247a797e0bfabcac72d..47f40b661116305cb9a25be04c8eb9f3eda08943 100644 (file)
@@ -193,7 +193,6 @@ private:
      */
     void clearOutput();
 
-    void updateWithValid(double dt);
     void updateBasicData(double dt);
     void updateWaypoints();
 
@@ -336,8 +335,9 @@ private:
 
     double _selectedCourse;
     
-    bool _last_valid;
+    bool _dataValid;
     SGGeod _last_pos;
+    bool _lastPosValid;
     double _last_speed_kts;
     double _last_true_track;
     double _last_vertical_speed;