Heat both nozzle/bed together while recovering a print

This commit is contained in:
Yuri D'Elia 2020-01-21 16:26:16 +01:00
parent 67decb466d
commit e8f05d0668
1 changed files with 4 additions and 1 deletions

View File

@ -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