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
2.0.x
Florian Heilmann 7 years ago committed by Scott Lahteine
parent 8b97da0e3d
commit 0fd2923a9f

@ -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