Browse Source

Fix check_hotends with > 1 hotend

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
6dd2b1210f
  1. 2
      Marlin/src/feature/hotend_idle.cpp

2
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) { void HotendIdleProtection::check_hotends(const millis_t &ms) {
bool do_prot = false; bool do_prot = false;
HOTEND_LOOP() { HOTEND_LOOP() {
if (thermalManager.degHotend(active_extruder) >= HOTEND_IDLE_MIN_TRIGGER) { if (thermalManager.degHotend(e) >= HOTEND_IDLE_MIN_TRIGGER) {
do_prot = true; break; do_prot = true; break;
} }
} }

Loading…
Cancel
Save