adding a new thermistor
authorArthur Wolf <wolf.arthur@gmail.com>
Sun, 23 Jun 2013 07:57:31 +0000 (09:57 +0200)
committerArthur Wolf <wolf.arthur@gmail.com>
Sun, 23 Jun 2013 07:57:31 +0000 (09:57 +0200)
src/modules/tools/temperaturecontrol/TemperatureControl.cpp

index b554e3a..1df088b 100644 (file)
@@ -73,7 +73,8 @@ void TemperatureControl::on_config_reload(void* argument){
     }else if( thermistor->value.compare("RRRF100K"     ) == 0 ){ this->beta = 3960;
     }else if( thermistor->value.compare("RRRF10K"      ) == 0 ){ this->beta = 3964; this->r0 = 10000; this->r1 = 680; this->r2 = 1600;
     }else if( thermistor->value.compare("Honeywell100K") == 0 ){ this->beta = 3974;
-    }else if( thermistor->value.compare("Semitec"      ) == 0 ){ this->beta = 4267; }
+    }else if( thermistor->value.compare("Semitec"      ) == 0 ){ this->beta = 4267; 
+    }else if( thermistor->value.compare("HT100K"       ) == 0 ){ this->beta = 3990; }
 
     // Preset values are overriden by specified values
     this->r0 =                  this->kernel->config->value(temperature_control_checksum, this->name_checksum, r0_checksum  )->by_default(this->r0  )->as_number();               // Stated resistance eg. 100K