|
@@ -138,7 +138,12 @@ void menu_main() {
|
138
|
138
|
}
|
139
|
139
|
#endif // !HAS_ENCODER_WHEEL && SDSUPPORT
|
140
|
140
|
|
141
|
|
- MENU_ITEM(function, MSG_RESUME_PRINT, lcd_resume);
|
|
141
|
+ #if ENABLED(SDSUPPORT) || defined(ACTION_ON_RESUME)
|
|
142
|
+ #if ENABLED(SDSUPPORT)
|
|
143
|
+ if (card.isFileOpen() && card.isPaused())
|
|
144
|
+ #endif
|
|
145
|
+ MENU_ITEM(function, MSG_RESUME_PRINT, lcd_resume);
|
|
146
|
+ #endif
|
142
|
147
|
|
143
|
148
|
MENU_ITEM(submenu, MSG_MOTION, menu_motion);
|
144
|
149
|
MENU_ITEM(submenu, MSG_TEMPERATURE, menu_temperature);
|