Browse Source

Fix missing dependencies (#14339)

pull/1/head
Marcio Teixeira 6 years ago
committed by Scott Lahteine
parent
commit
49ea1c635a
  1. 2
      Marlin/src/feature/pause.cpp
  2. 8
      Marlin/src/lcd/ultralcd.cpp

2
Marlin/src/feature/pause.cpp

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

8
Marlin/src/lcd/ultralcd.cpp

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

Loading…
Cancel
Save