diff options
author | blddk <michael.andresen@gmail.com> | 2011-10-16 16:29:59 +0300 |
---|---|---|
committer | blddk <michael.andresen@gmail.com> | 2011-10-16 16:29:59 +0300 |
commit | 588109f0984eeeb1f97dee956f26c9cecea1c806 (patch) | |
tree | bc0867d0982d381a4f0f2a51b622fc28d3b1dcdc | |
parent | cc1bb0fc0825ca7997b3c21ae744972a1b22a6f9 (diff) |
Update Sprinter/Sprinter.pde
-rw-r--r-- | Sprinter/Sprinter.pde | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde index 9b694fd..ca3e0e9 100644 --- a/Sprinter/Sprinter.pde +++ b/Sprinter/Sprinter.pde @@ -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 } |