Merge pull request #3473 from thinkyhead/rc_one_more_elapse

Fix a messed up ELAPSED instance
master
Scott Lahteine 9 years ago
commit b63c79b5ff

@ -696,7 +696,7 @@ void manage_heater() {
} // Extruders Loop } // Extruders Loop
#if HAS_AUTO_FAN #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(); checkExtruderAutoFans();
next_auto_fan_check_ms = ms + 2500UL; next_auto_fan_check_ms = ms + 2500UL;
} }

Loading…
Cancel
Save