Update Sprinter/Sprinter.pde
This commit is contained in:
parent
588109f098
commit
f63468b747
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*1000L) || lastMotor == 0) //If the last time any driver was enabled, is longer since than CONTROLLERSEC...
|
||||
if ((millis() - lastMotor) >= (CONTROLLERFAN_SEC*1000UL) || 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