resume print fix: wait for heater() never disable steppers
This commit is contained in:
parent
10b79e918b
commit
c991c8b314
@ -7457,7 +7457,6 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
|
|||||||
{
|
{
|
||||||
if(blocks_queued() == false && ignore_stepper_queue == false) {
|
if(blocks_queued() == false && ignore_stepper_queue == false) {
|
||||||
disable_x();
|
disable_x();
|
||||||
// SERIAL_ECHOLNPGM("manage_inactivity - disable Y");
|
|
||||||
disable_y();
|
disable_y();
|
||||||
disable_z();
|
disable_z();
|
||||||
disable_e0();
|
disable_e0();
|
||||||
@ -7791,7 +7790,7 @@ static void wait_for_heater(long codenum, uint8_t extruder) {
|
|||||||
codenum = millis();
|
codenum = millis();
|
||||||
}
|
}
|
||||||
manage_heater();
|
manage_heater();
|
||||||
manage_inactivity();
|
manage_inactivity(true); //do not disable steppers
|
||||||
lcd_update(0);
|
lcd_update(0);
|
||||||
#ifdef TEMP_RESIDENCY_TIME
|
#ifdef TEMP_RESIDENCY_TIME
|
||||||
/* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time
|
/* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time
|
||||||
|
@ -5677,6 +5677,7 @@ void lcd_resume_print()
|
|||||||
lcd_reset_alert_level(); //for fan speed error
|
lcd_reset_alert_level(); //for fan speed error
|
||||||
restore_print_from_ram_and_continue(0.0);
|
restore_print_from_ram_and_continue(0.0);
|
||||||
pause_time += (millis() - start_pause_print); //accumulate time when print is paused for correct statistics calculation
|
pause_time += (millis() - start_pause_print); //accumulate time when print is paused for correct statistics calculation
|
||||||
|
refresh_cmd_timeout();
|
||||||
isPrintPaused = false;
|
isPrintPaused = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user