Power Loss Recovery with a UPS (#15943)

This commit is contained in:
BigTreeTech authored and Scott Lahteine committed 2019-11-20 17:40:21 -06:00
1 parent ab9f0f2c4f
commit ab8b24fdba
111 files changed
+290 -31

No files matched your search

+7 -2
View File
@@ -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();
}