Browse Source

Merge pull request #3473 from thinkyhead/rc_one_more_elapse

Fix a messed up ELAPSED instance
pull/1/head
Scott Lahteine 9 years ago
parent
commit
b63c79b5ff
  1. 2
      Marlin/temperature.cpp

2
Marlin/temperature.cpp

@ -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