From 6dd2b1210f2810fc410af6aad1f50dcde4e3406e Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 16 Jul 2020 22:30:36 -0500 Subject: [PATCH] Fix check_hotends with > 1 hotend --- Marlin/src/feature/hotend_idle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/feature/hotend_idle.cpp b/Marlin/src/feature/hotend_idle.cpp index 89c18f7af..0c8a40e1e 100644 --- a/Marlin/src/feature/hotend_idle.cpp +++ b/Marlin/src/feature/hotend_idle.cpp @@ -43,7 +43,7 @@ millis_t HotendIdleProtection::next_protect_ms = 0; void HotendIdleProtection::check_hotends(const millis_t &ms) { bool do_prot = false; HOTEND_LOOP() { - if (thermalManager.degHotend(active_extruder) >= HOTEND_IDLE_MIN_TRIGGER) { + if (thermalManager.degHotend(e) >= HOTEND_IDLE_MIN_TRIGGER) { do_prot = true; break; } }