瀏覽代碼

Fix compilation with ADVANCED_PAUSE_FEATURE without SDSUPPORT (#7412)

* Fix compilation of ADVANCED_PAUSE_FEATURE without SDSUPPORT

* Fix Identation

* Make use of IS_SD_PRINTING macro

as per @MagoKimbra
Florian Heilmann 7 年之前
父節點
當前提交
0fd2923a9f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp 查看文件

@@ -2412,7 +2412,7 @@ void kill_screen(const char* lcd_msg) {
2412 2412
     // Change filament
2413 2413
     //
2414 2414
     #if ENABLED(ADVANCED_PAUSE_FEATURE)
2415
-      if (!thermalManager.tooColdToExtrude(active_extruder) && !card.sdprinting)
2415
+      if (!thermalManager.tooColdToExtrude(active_extruder) && !IS_SD_PRINTING)
2416 2416
         MENU_ITEM(function, MSG_FILAMENTCHANGE, lcd_enqueue_filament_change);
2417 2417
     #endif
2418 2418
 

Loading…
取消
儲存