Fix missing dependencies (#14339)

This commit is contained in:
Marcio Teixeira 2019-06-20 15:37:20 -06:00 committed by Scott Lahteine
parent 19d4a9ab77
commit 49ea1c635a
2 changed files with 11 additions and 1 deletions

View File

@ -683,8 +683,10 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
#if HAS_DISPLAY
ui.reset_status();
#if HAS_LCD_MENU
ui.return_to_status();
#endif
#endif
}
#endif // ADVANCED_PAUSE_FEATURE

View File

@ -1424,6 +1424,10 @@ void MarlinUI::update() {
set_status_P(msg, -1);
}
#if ENABLED(SDSUPPORT)
extern bool wait_for_user, wait_for_heatup;
#endif
void MarlinUI::abort_print() {
#if ENABLED(SDSUPPORT)
wait_for_heatup = wait_for_user = false;
@ -1442,6 +1446,10 @@ void MarlinUI::update() {
#endif
}
#if ANY(PARK_HEAD_ON_PAUSE, SDSUPPORT)
#include "../gcode/queue.h"
#endif
void MarlinUI::pause_print() {
#if HAS_LCD_MENU
synchronize(PSTR(MSG_PAUSE_PRINT));