Browse Source

Fix a messed up ELAPSED instance

pull/1/head
Scott Lahteine 8 years ago
parent
commit
c5a8755cc0
  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