Browse Source

Heat both nozzle/bed together while recovering a print

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

+ 4 - 1
Firmware/Marlin_main.cpp

@@ -10777,10 +10777,13 @@ void recover_print(uint8_t automatic) {
   // Home X and Y axes. Homing just X and Y shall not touch the babystep and the world2machine transformation status.
 	enquecommand_P(PSTR("G28 X Y"));
   // Set the target bed and nozzle temperatures and wait.
-	sprintf_P(cmd, PSTR("M109 S%d"), target_temperature[active_extruder]);
+	sprintf_P(cmd, PSTR("M104 S%d"), target_temperature[active_extruder]);
 	enquecommand(cmd);
 	sprintf_P(cmd, PSTR("M190 S%d"), target_temperature_bed);
 	enquecommand(cmd);
+	sprintf_P(cmd, PSTR("M109 S%d"), target_temperature[active_extruder]);
+	enquecommand(cmd);
+
 	enquecommand_P(PSTR("M83")); //E axis relative mode
 	//enquecommand_P(PSTR("G1 E5 F120")); //Extrude some filament to stabilize pessure
     // If not automatically recoreverd (long power loss), extrude extra filament to stabilize