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
pull/1/head
Florian Heilmann 8 years ago
committed by Scott Lahteine
parent
commit
0fd2923a9f
  1. 2
      Marlin/ultralcd.cpp

2
Marlin/ultralcd.cpp

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

Loading…
Cancel
Save