Browse Source

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

PavelSindler 5 years ago
parent
commit
c991c8b314
2 changed files with 2 additions and 2 deletions
  1. 1 2
      Firmware/Marlin_main.cpp
  2. 1 0
      Firmware/ultralcd.cpp

+ 1 - 2
Firmware/Marlin_main.cpp

@@ -7457,7 +7457,6 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument s
     {
       if(blocks_queued() == false && ignore_stepper_queue == false) {
         disable_x();
-//        SERIAL_ECHOLNPGM("manage_inactivity - disable Y");
         disable_y();
         disable_z();
         disable_e0();
@@ -7791,7 +7790,7 @@ static void wait_for_heater(long codenum, uint8_t extruder) {
 				codenum = millis();
 		}
 			manage_heater();
-			manage_inactivity();
+			manage_inactivity(true); //do not disable steppers
 			lcd_update(0);
 #ifdef TEMP_RESIDENCY_TIME
 			/* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time

+ 1 - 0
Firmware/ultralcd.cpp

@@ -5677,6 +5677,7 @@ void lcd_resume_print()
     lcd_reset_alert_level(); //for fan speed error
     restore_print_from_ram_and_continue(0.0);
     pause_time += (millis() - start_pause_print); //accumulate time when print is paused for correct statistics calculation
+	refresh_cmd_timeout();
     isPrintPaused = false;
 }