From: Arthur Wolf Date: Sun, 23 Jun 2013 07:57:31 +0000 (+0200) Subject: adding a new thermistor X-Git-Url: http://git.hcoop.net/clinton/Smoothieware.git/commitdiff_plain/93356612e5927141fd71052e4e7943661dc262c1 adding a new thermistor --- diff --git a/src/modules/tools/temperaturecontrol/TemperatureControl.cpp b/src/modules/tools/temperaturecontrol/TemperatureControl.cpp index b554e3ac..1df088b5 100644 --- a/src/modules/tools/temperaturecontrol/TemperatureControl.cpp +++ b/src/modules/tools/temperaturecontrol/TemperatureControl.cpp @@ -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