@@ -381,7 +381,7 @@ uint8_t did_pause_print = 0;
381
381
382
382
bool pause_print (const float &retract, const xyz_pos_t &park_point, const float &unload_length/* =0*/ , const bool show_lcd/* =false*/ DXC_ARGS) {
383
383
DEBUG_SECTION (pp, " pause_print" , true );
384
- DEBUG_ECHOLNPAIR (" ... retract: " , retract, " park.x:" , park_point.x , " y:" , park_point.y , " z:" , park_point.z , " unloadlen:" , unload_length, " showlcd:" , int (show_lcd) DXC_SAY);
384
+ DEBUG_ECHOLNPAIR (" ... park.x:" , park_point.x , " y:" , park_point.y , " z:" , park_point.z , " unloadlen:" , unload_length, " showlcd:" , int (show_lcd) DXC_SAY);
385
385
386
386
UNUSED (show_lcd);
387
387
@@ -397,19 +397,6 @@ bool pause_print(const float &retract, const xyz_pos_t &park_point, const float
397
397
398
398
TERN_ (HOST_PROMPT_SUPPORT, host_prompt_open (PROMPT_INFO, PSTR (" Pause" ), DISMISS_STR));
399
399
400
- if (!DEBUGGING (DRYRUN) && unload_length && thermalManager.targetTooColdToExtrude (active_extruder)) {
401
- SERIAL_ECHO_MSG (STR_ERR_HOTEND_TOO_COLD);
402
-
403
- #if HAS_LCD_MENU
404
- if (show_lcd) { // Show status screen
405
- lcd_pause_show_message (PAUSE_MESSAGE_STATUS);
406
- LCD_MESSAGEPGM (MSG_M600_TOO_COLD);
407
- }
408
- #endif
409
-
410
- return false ; // unable to reach safe temperature
411
- }
412
-
413
400
// Indicate that the printer is paused
414
401
++did_pause_print;
415
402
@@ -434,8 +421,10 @@ bool pause_print(const float &retract, const xyz_pos_t &park_point, const float
434
421
#endif
435
422
436
423
// Initial retract before move to filament change position
437
- if (retract && thermalManager.hotEnoughToExtrude (active_extruder))
424
+ if (retract && thermalManager.hotEnoughToExtrude (active_extruder)) {
425
+ DEBUG_ECHOLNPAIR (" ... retract:" , retract);
438
426
unscaled_e_move (retract, PAUSE_PARK_RETRACT_FEEDRATE);
427
+ }
439
428
440
429
// Park the nozzle by moving up by z_lift and then moving to (x_pos, y_pos)
441
430
if (!axes_should_home ())
@@ -603,11 +592,12 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
603
592
thermalManager.reset_hotend_idle_timer (e);
604
593
}
605
594
606
- if (targetTemp > thermalManager.degTargetHotend (active_extruder))
595
+ if (targetTemp > thermalManager.degTargetHotend (active_extruder)) {
607
596
thermalManager.setTargetHotend (targetTemp, active_extruder);
597
+ }
608
598
609
- if (nozzle_timed_out || thermalManager. hotEnoughToExtrude (active_extruder)) // Load the new filament
610
- load_filament (slow_load_length, fast_load_length, purge_length, max_beep_count, true , nozzle_timed_out, PAUSE_MODE_SAME DXC_PASS);
599
+ // Load the new filament
600
+ load_filament (slow_load_length, fast_load_length, purge_length, max_beep_count, true , nozzle_timed_out, PAUSE_MODE_SAME DXC_PASS);
611
601
612
602
if (targetTemp > 0 ) {
613
603
thermalManager.setTargetHotend (targetTemp, active_extruder);
0 commit comments