Преглед изворни кода

Fix a messed up ELAPSED instance

Scott Lahteine пре 8 година
родитељ
комит
c5a8755cc0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp Прегледај датотеку

@@ -696,7 +696,7 @@ void manage_heater() {
696 696
   } // Extruders Loop
697 697
 
698 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 700
       checkExtruderAutoFans();
701 701
       next_auto_fan_check_ms = ms + 2500UL;
702 702
     }

Loading…
Откажи
Сачувај