Update and fix DGUS (#16317)
This commit is contained in:
committed by
Scott Lahteine
parent
7f87a044cd
commit
e593da1c23
@ -28,6 +28,9 @@
|
||||
#include "../../../feature/power_loss_recovery.h"
|
||||
#include "../../../module/motion.h"
|
||||
#include "../../../lcd/ultralcd.h"
|
||||
#if ENABLED(EXTENSIBLE_UI)
|
||||
#include "../../../lcd/extensible_ui/ui_api.h"
|
||||
#endif
|
||||
|
||||
#define DEBUG_OUT ENABLED(DEBUG_POWER_LOSS_RECOVERY)
|
||||
#include "../../../core/debug_out.h"
|
||||
@ -55,6 +58,8 @@ void GcodeSuite::M1000() {
|
||||
if (parser.seen('S')) {
|
||||
#if HAS_LCD_MENU
|
||||
ui.goto_screen(menu_job_recovery);
|
||||
#elif ENABLED(EXTENSIBLE_UI)
|
||||
ExtUI::OnPowerLossResume();
|
||||
#else
|
||||
SERIAL_ECHO_MSG("Resume requires LCD.");
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user