Browse Source

Fix a messed up ELAPSED instance

Scott Lahteine 8 years ago
parent
commit
c5a8755cc0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

696
   } // Extruders Loop
696
   } // Extruders Loop
697
 
697
 
698
   #if HAS_AUTO_FAN
698
   #if HAS_AUTO_FAN
699
-    if (ELAPSED(ms > next_auto_fan_check_ms)) { // only need to check fan state very infrequently
699
+    if (ELAPSED(ms, next_auto_fan_check_ms)) { // only need to check fan state very infrequently
700
       checkExtruderAutoFans();
700
       checkExtruderAutoFans();
701
       next_auto_fan_check_ms = ms + 2500UL;
701
       next_auto_fan_check_ms = ms + 2500UL;
702
     }
702
     }

Loading…
Cancel
Save