From c5a8755cc0d62d3ab20d1352bbcdf73d976d39a3 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 11 Apr 2016 18:48:27 -0700 Subject: [PATCH] Fix a messed up ELAPSED instance --- Marlin/temperature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index c99eea355b..0975e4fafb 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -696,7 +696,7 @@ void manage_heater() { } // Extruders Loop #if HAS_AUTO_FAN - if (ELAPSED(ms > next_auto_fan_check_ms)) { // only need to check fan state very infrequently + if (ELAPSED(ms, next_auto_fan_check_ms)) { // only need to check fan state very infrequently checkExtruderAutoFans(); next_auto_fan_check_ms = ms + 2500UL; }