]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/pidcontroller.cxx
Interim windows build fix
[flightgear.git] / src / Autopilot / pidcontroller.cxx
index 19f16dbd75d773817ac688c12b3c9315e29b0310..4f71fd574f2d4d3614e05d558f3e8aecfc6f6418 100644 (file)
@@ -198,11 +198,6 @@ bool PIDController::configure( SGPropertyNode& cfg_node,
                                const std::string& cfg_name,
                                SGPropertyNode& prop_root )
 {
-  SG_LOG(SG_AUTOPILOT, SG_BULK, "PIDController::configure(" << cfg_name << ")");
-
-  if( AnalogComponent::configure(cfg_node, cfg_name, prop_root) )
-    return true;
-
   if( cfg_name == "config" ) {
     Component::configure(prop_root, cfg_node);
     return true;
@@ -241,14 +236,7 @@ bool PIDController::configure( SGPropertyNode& cfg_node,
   if (cfg_name == "gamma") {
     gamma = cfg_node.getDoubleValue();
     return true;
-  } 
+  }
 
-  SG_LOG
-  (
-    SG_AUTOPILOT,
-    SG_BULK,
-    "PIDController::configure(" << cfg_name << ") [unhandled]"
-  );
-  return false;
+  return AnalogComponent::configure(cfg_node, cfg_name, prop_root);
 }
-