Hide Resume Print when not relevant
This commit is contained in:
parent
afe79ba22b
commit
0a7ea7063f
@ -138,7 +138,12 @@ void menu_main() {
|
|||||||
}
|
}
|
||||||
#endif // !HAS_ENCODER_WHEEL && SDSUPPORT
|
#endif // !HAS_ENCODER_WHEEL && SDSUPPORT
|
||||||
|
|
||||||
|
#if ENABLED(SDSUPPORT) || defined(ACTION_ON_RESUME)
|
||||||
|
#if ENABLED(SDSUPPORT)
|
||||||
|
if (card.isFileOpen() && card.isPaused())
|
||||||
|
#endif
|
||||||
MENU_ITEM(function, MSG_RESUME_PRINT, lcd_resume);
|
MENU_ITEM(function, MSG_RESUME_PRINT, lcd_resume);
|
||||||
|
#endif
|
||||||
|
|
||||||
MENU_ITEM(submenu, MSG_MOTION, menu_motion);
|
MENU_ITEM(submenu, MSG_MOTION, menu_motion);
|
||||||
MENU_ITEM(submenu, MSG_TEMPERATURE, menu_temperature);
|
MENU_ITEM(submenu, MSG_TEMPERATURE, menu_temperature);
|
||||||
|
Loading…
Reference in New Issue
Block a user