]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/pitot.cxx
Fix line endings
[flightgear.git] / src / Systems / pitot.cxx
index 71b27fc7a05a3884938a6f8e95ef592635023090..3851f53fd3c4471b86b9b0da0526145a01475ee5 100644 (file)
@@ -24,9 +24,9 @@ PitotSystem::PitotSystem ( SGPropertyNode *node )
         } else if ( cname == "number" ) {
             num = child->getIntValue();
         } else {
-            SG_LOG( SG_AUTOPILOT, SG_WARN, "Error in systems config logic" );
+            SG_LOG( SG_SYSTEMS, SG_WARN, "Error in systems config logic" );
             if ( name.length() ) {
-                SG_LOG( SG_AUTOPILOT, SG_WARN, "Section = " << name );
+                SG_LOG( SG_SYSTEMS, SG_WARN, "Section = " << name );
             }
         }
     }
@@ -54,8 +54,6 @@ PitotSystem::init ()
     _density_node = fgGetNode("/environment/density-slugft3", true);
     _velocity_node = fgGetNode("/velocities/airspeed-kt", true);
     _total_pressure_node = node->getChild("total-pressure-inhg", 0, true);
-
-    _serviceable_node->setBoolValue(true);
 }
 
 void