浏览代码

Fix check_hotends with > 1 hotend

Scott Lahteine 5 年前
父节点
当前提交
6dd2b1210f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/feature/hotend_idle.cpp

+ 1
- 1
Marlin/src/feature/hotend_idle.cpp 查看文件

@@ -43,7 +43,7 @@ millis_t HotendIdleProtection::next_protect_ms = 0;
43 43
 void HotendIdleProtection::check_hotends(const millis_t &ms) {
44 44
   bool do_prot = false;
45 45
   HOTEND_LOOP() {
46
-    if (thermalManager.degHotend(active_extruder) >= HOTEND_IDLE_MIN_TRIGGER) {
46
+    if (thermalManager.degHotend(e) >= HOTEND_IDLE_MIN_TRIGGER) {
47 47
       do_prot = true; break;
48 48
     }
49 49
   }

正在加载...
取消
保存