From 0c0ace2a0411d61a238e4f82c4691c28aab450ac Mon Sep 17 00:00:00 2001 From: AnHardt Date: Fri, 22 May 2015 01:44:50 +0200 Subject: [PATCH] Remove start_watching_heater() fom M104 and M109 --- Marlin/Marlin_main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 3b915306c..5f51ce448 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -3367,10 +3367,6 @@ inline void gcode_M104() { if (dual_x_carriage_mode == DXC_DUPLICATION_MODE && target_extruder == 0) setTargetHotend1(temp == 0.0 ? 0.0 : temp + duplicate_extruder_temp_offset); #endif - - #ifdef THERMAL_PROTECTION_HOTENDS - start_watching_heater(target_extruder); - #endif } } @@ -3482,10 +3478,6 @@ inline void gcode_M109() { if (code_seen('B')) autotemp_max = code_value(); #endif - #ifdef THERMAL_PROTECTION_HOTENDS - start_watching_heater(target_extruder); - #endif - millis_t temp_ms = millis(); /* See if we are heating up or cooling down */