Browse Source

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 years ago
parent
commit
0fd2923a9f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -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…
Cancel
Save