ソースを参照

Fix missing dependencies (#14339)

Marcio Teixeira 6年前
コミット
49ea1c635a
2個のファイルの変更11行の追加1行の削除
  1. 3
    1
      Marlin/src/feature/pause.cpp
  2. 8
    0
      Marlin/src/lcd/ultralcd.cpp

+ 3
- 1
Marlin/src/feature/pause.cpp ファイルの表示

683
 
683
 
684
   #if HAS_DISPLAY
684
   #if HAS_DISPLAY
685
     ui.reset_status();
685
     ui.reset_status();
686
-    ui.return_to_status();
686
+    #if HAS_LCD_MENU
687
+      ui.return_to_status();
688
+    #endif
687
   #endif
689
   #endif
688
 }
690
 }
689
 
691
 

+ 8
- 0
Marlin/src/lcd/ultralcd.cpp ファイルの表示

1424
     set_status_P(msg, -1);
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
   void MarlinUI::abort_print() {
1431
   void MarlinUI::abort_print() {
1428
     #if ENABLED(SDSUPPORT)
1432
     #if ENABLED(SDSUPPORT)
1429
       wait_for_heatup = wait_for_user = false;
1433
       wait_for_heatup = wait_for_user = false;
1442
     #endif
1446
     #endif
1443
   }
1447
   }
1444
 
1448
 
1449
+  #if ANY(PARK_HEAD_ON_PAUSE, SDSUPPORT)
1450
+    #include "../gcode/queue.h"
1451
+  #endif
1452
+
1445
   void MarlinUI::pause_print() {
1453
   void MarlinUI::pause_print() {
1446
     #if HAS_LCD_MENU
1454
     #if HAS_LCD_MENU
1447
       synchronize(PSTR(MSG_PAUSE_PRINT));
1455
       synchronize(PSTR(MSG_PAUSE_PRINT));

読み込み中…
キャンセル
保存