Power Loss Recovery with a UPS (#15943)
This commit is contained in:
committed by
Scott Lahteine
parent
ab9f0f2c4f
commit
ab8b24fdba
@ -52,8 +52,13 @@ inline void plr_error(PGM_P const prefix) {
|
||||
void GcodeSuite::M1000() {
|
||||
|
||||
if (recovery.valid()) {
|
||||
if (parser.seen('S'))
|
||||
ui.goto_screen(menu_job_recovery);
|
||||
if (parser.seen('S')) {
|
||||
#if HAS_LCD_MENU
|
||||
ui.goto_screen(menu_job_recovery);
|
||||
#else
|
||||
SERIAL_ECHO_MSG("Resume requires LCD.");
|
||||
#endif
|
||||
}
|
||||
else
|
||||
recovery.resume();
|
||||
}
|
||||
|
Reference in New Issue
Block a user