From 063154116671c234760ef0e2920e430fd364ec28 Mon Sep 17 00:00:00 2001
From: Blue-Marlin <Makaira@Marlin-Firmware.org>
Date: Wed, 2 Mar 2016 14:17:23 +0100
Subject: [PATCH] Fix disable_all_heaters() for MAX6675

---
 Marlin/temperature.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp
index d3b0f188c1..cbb25911e5 100644
--- a/Marlin/temperature.cpp
+++ b/Marlin/temperature.cpp
@@ -1115,7 +1115,7 @@ void disable_all_heaters() {
     WRITE_HEATER_ ## NR (LOW); \
   }
 
-  #if HAS_TEMP_0
+#if HAS_TEMP_0 || ENABLED(HEATER_0_USES_MAX6675)
     target_temperature[0] = 0;
     soft_pwm[0] = 0;
     WRITE_HEATER_0P(LOW); // Should HEATERS_PARALLEL apply here? Then change to DISABLE_HEATER(0)
-- 
GitLab