From aab5118c6a748a0abfbe7b6418b98143a9078059 Mon Sep 17 00:00:00 2001 From: Robert Kirk Date: Sun, 1 Jan 2017 17:45:54 -0500 Subject: [PATCH] Remove error causing break command Use index macro instead of e --- Marlin/ultralcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index c5102db7d..ee14eca49 100755 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -1403,7 +1403,7 @@ KeepDrawing: // Cooldown // bool has_heat = false; - HOTEND_LOOP() if (thermalManager.target_temperature[e]) { has_heat = true; break; } + HOTEND_LOOP() if (thermalManager.target_temperature[HOTEND_INDEX]) { has_heat = true; } #if HAS_TEMP_BED if (thermalManager.target_temperature_bed) has_heat = true; #endif