Browse Source

Fix missing dependencies (#14339)

Marcio Teixeira 5 years ago
parent
commit
49ea1c635a
2 changed files with 11 additions and 1 deletions
  1. 3
    1
      Marlin/src/feature/pause.cpp
  2. 8
    0
      Marlin/src/lcd/ultralcd.cpp

+ 3
- 1
Marlin/src/feature/pause.cpp View File

@@ -683,7 +683,9 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
683 683
 
684 684
   #if HAS_DISPLAY
685 685
     ui.reset_status();
686
-    ui.return_to_status();
686
+    #if HAS_LCD_MENU
687
+      ui.return_to_status();
688
+    #endif
687 689
   #endif
688 690
 }
689 691
 

+ 8
- 0
Marlin/src/lcd/ultralcd.cpp View File

@@ -1424,6 +1424,10 @@ void MarlinUI::update() {
1424 1424
     set_status_P(msg, -1);
1425 1425
   }
1426 1426
 
1427
+  #if ENABLED(SDSUPPORT)
1428
+    extern bool wait_for_user, wait_for_heatup;
1429
+  #endif
1430
+
1427 1431
   void MarlinUI::abort_print() {
1428 1432
     #if ENABLED(SDSUPPORT)
1429 1433
       wait_for_heatup = wait_for_user = false;
@@ -1442,6 +1446,10 @@ void MarlinUI::update() {
1442 1446
     #endif
1443 1447
   }
1444 1448
 
1449
+  #if ANY(PARK_HEAD_ON_PAUSE, SDSUPPORT)
1450
+    #include "../gcode/queue.h"
1451
+  #endif
1452
+
1445 1453
   void MarlinUI::pause_print() {
1446 1454
     #if HAS_LCD_MENU
1447 1455
       synchronize(PSTR(MSG_PAUSE_PRINT));

Loading…
Cancel
Save