Update Sprinter/Sprinter.pde
This commit is contained in:
parent
cc1bb0fc08
commit
588109f098
1 changed files with 1 additions and 1 deletions
|
|
@ -1460,7 +1460,7 @@ void controllerFan()
|
|||
lastMotor = millis(); //... set time to NOW so the fan will turn on
|
||||
}
|
||||
|
||||
if ((millis() - lastMotor) >= (CONTROLLERFAN_SEC*1000) || lastMotor == 0) //If the last time any driver was enabled, is longer since than CONTROLLERSEC...
|
||||
if ((millis() - lastMotor) >= (CONTROLLERFAN_SEC*1000L) || lastMotor == 0) //If the last time any driver was enabled, is longer since than CONTROLLERSEC...
|
||||
{
|
||||
WRITE(CONTROLLERFAN_PIN, LOW); //... turn the fan off
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue