|
@ -95,10 +95,6 @@ MarlinUI ui; |
|
|
#include "../module/planner.h" |
|
|
#include "../module/planner.h" |
|
|
#include "../module/motion.h" |
|
|
#include "../module/motion.h" |
|
|
|
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
|
|
#include "../feature/power_loss_recovery.h" |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_UBL) |
|
|
#if ENABLED(AUTO_BED_LEVELING_UBL) |
|
|
#include "../feature/bedlevel/bedlevel.h" |
|
|
#include "../feature/bedlevel/bedlevel.h" |
|
|
#endif |
|
|
#endif |
|
@ -1519,10 +1515,6 @@ void MarlinUI::update() { |
|
|
synchronize(GET_TEXT(MSG_PAUSE_PRINT)); |
|
|
synchronize(GET_TEXT(MSG_PAUSE_PRINT)); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(POWER_LOSS_RECOVERY) |
|
|
|
|
|
if (recovery.enabled) recovery.save(true, false); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(HOST_PROMPT_SUPPORT) |
|
|
#if ENABLED(HOST_PROMPT_SUPPORT) |
|
|
host_prompt_open(PROMPT_PAUSE_RESUME, PSTR("UI Pause"), PSTR("Resume")); |
|
|
host_prompt_open(PROMPT_PAUSE_RESUME, PSTR("UI Pause"), PSTR("Resume")); |
|
|
#endif |
|
|
#endif |
|
|