it turns out, having currentcontrol enabled by default is bad if you
authorArthur Wolf <wolf.arthur@gmail.com>
Thu, 10 May 2012 22:49:16 +0000 (00:49 +0200)
committerArthur Wolf <wolf.arthur@gmail.com>
Thu, 10 May 2012 22:49:16 +0000 (00:49 +0200)
don't have the digipot chip, so ... disabling

src/modules/utils/currentcontrol/CurrentControl.cpp

index 673d065..64e6bc9 100644 (file)
@@ -8,7 +8,7 @@ using namespace std;
 CurrentControl::CurrentControl(){}
 
 void CurrentControl::on_module_loaded(){
-    if( !this->kernel->config->value( currentcontrol_module_enable_checksum )->by_default(true)->as_bool() ){ return; } 
+    if( !this->kernel->config->value( currentcontrol_module_enable_checksum )->by_default(false)->as_bool() ){ return; } 
 
     // Get configuration
     this->alpha_current =           this->kernel->config->value(alpha_current_checksum  )->by_default(0.8)->as_number();