Retract, lift Z, move away in XY, disable fan and nozzle heating. Resume nozzle heating.

Known limitations: Doesn't wait for nozzle temperature reaching set temperature before moving to print area. Doesn't resume print fan. Unused code not removed.
This commit is contained in:
Marek Bel 2018-09-04 08:53:27 +02:00
parent af08e16426
commit d54e629950

View file

@ -5523,9 +5523,17 @@ static void lcd_test_menu()
static void pause_print()
{
stop_and_save_print_to_ram(0.0,0.0);
long_pause();
}
static void resume_print()
{
char cmd1[30];
strcpy(cmd1, "M104 S");
strcat(cmd1, ftostr3(HotendTempBckp));
enquecommand(cmd1);
strcpy(cmd1, "M109 S");
strcat(cmd1, ftostr3(HotendTempBckp));
enquecommand(cmd1);
restore_print_from_ram_and_continue(0.0);
}