Browse Source

Turn off heaters just prior to retraction to limit oozing

Yuri D'Elia 5 years ago
parent
commit
792d7ca6dc
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Firmware/Marlin_main.cpp

+ 4 - 3
Firmware/Marlin_main.cpp

@@ -9555,9 +9555,11 @@ float temp_compensation_pinda_thermistor_offset(float temperature_pinda)
 void long_pause() //long pause print
 {
 	st_synchronize();
-	
 	start_pause_print = _millis();
 
+    // Stop heaters
+    setAllTargetHotends(0);
+
 	//retract
 	current_position[E_AXIS] -= default_retraction;
 	plan_buffer_line_curposXYZE(400, active_extruder);
@@ -9572,8 +9574,7 @@ void long_pause() //long pause print
 	current_position[Y_AXIS] = Y_PAUSE_POS;
 	plan_buffer_line_curposXYZE(50, active_extruder);
 
-	// Turn off the hotends and print fan
-    setAllTargetHotends(0);
+	// Turn off the print fan
 	fanSpeed = 0;
 }