Skip to content

Commit 50117f7

Browse files
thisiskeithbvgadreau
authored andcommitted
Fix Hotend Idle Timeout trigger (MarlinFirmware#18657)
1 parent 4080033 commit 50117f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/feature/hotend_idle.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ millis_t HotendIdleProtection::next_protect_ms = 0;
4343
void HotendIdleProtection::check_hotends(const millis_t &ms) {
4444
bool do_prot = false;
4545
HOTEND_LOOP() {
46-
if (thermalManager.degHotendNear(e, HOTEND_IDLE_MIN_TRIGGER)) {
46+
if (thermalManager.degHotend(active_extruder) >= HOTEND_IDLE_MIN_TRIGGER) {
4747
do_prot = true; break;
4848
}
4949
}

0 commit comments

Comments
 (0)