M105 works for all controllers again
authorLogxen <logxen@hotmail.com>
Sat, 17 May 2014 22:40:09 +0000 (15:40 -0700)
committerLogxen <logxen@hotmail.com>
Sat, 17 May 2014 22:40:09 +0000 (15:40 -0700)
src/modules/tools/temperaturecontrol/TemperatureControl.cpp

index 76dcc7e..7e5603a 100644 (file)
@@ -181,7 +181,7 @@ void TemperatureControl::on_gcode_received(void* argument){
                 this->active = toolmanager.current_tool_name == this->name_checksum;
             }
         }
-        if( (gcode->m == this->get_m_code) && this->active ){
+        if( gcode->m == this->get_m_code ){
             char buf[32]; // should be big enough for any status
             int n= snprintf(buf, sizeof(buf), "%s:%3.1f /%3.1f @%d ", this->designator.c_str(), this->get_temperature(), ((target_temperature == UNDEFINED)?0.0:target_temperature), this->o);
             gcode->txt_after_ok.append(buf, n);