resume print fix: wait for heater() never disable steppers

This commit is contained in:
PavelSindler 2018-11-09 18:29:35 +01:00
parent 10b79e918b
commit c991c8b314
2 changed files with 2 additions and 2 deletions

View File

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

View File

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