|
@ -61,6 +61,10 @@ |
|
|
#include "../libs/buzzer.h" |
|
|
#include "../libs/buzzer.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
|
|
#include "powerloss.h" |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#include "../libs/nozzle.h" |
|
|
#include "../libs/nozzle.h" |
|
|
#include "pause.h" |
|
|
#include "pause.h" |
|
|
|
|
|
|
|
@ -640,6 +644,9 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le |
|
|
// Set extruder to saved position
|
|
|
// Set extruder to saved position
|
|
|
planner.set_e_position_mm((destination.e = current_position.e = resume_position.e)); |
|
|
planner.set_e_position_mm((destination.e = current_position.e = resume_position.e)); |
|
|
|
|
|
|
|
|
|
|
|
// Write PLR now to update the z axis value
|
|
|
|
|
|
TERN_(POWER_LOSS_RECOVERY, if (recovery.enabled) recovery.save(true)); |
|
|
|
|
|
|
|
|
TERN_(HAS_LCD_MENU, lcd_pause_show_message(PAUSE_MESSAGE_STATUS)); |
|
|
TERN_(HAS_LCD_MENU, lcd_pause_show_message(PAUSE_MESSAGE_STATUS)); |
|
|
|
|
|
|
|
|
#ifdef ACTION_ON_RESUMED |
|
|
#ifdef ACTION_ON_RESUMED |
|
|