summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authorblddk <michael.andresen@gmail.com>2011-08-03 01:47:56 +0300
committerblddk <michael.andresen@gmail.com>2011-08-03 01:47:56 +0300
commitf131f08bb65891ffbdfe9857f30e6b251d65b3bb (patch)
tree8b1d4066e0c02366973e10f91da1623b234fd20a /Sprinter
parentef66ecf5f1bb6c6c6819ee5c90efcb0d09419e71 (diff)
Added MINTEMP to work on the heated bed too, so it will also turn off when thermistor fails.
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Sprinter.pde2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index 5d40499..8639218 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -1498,7 +1498,7 @@ void manage_heater()
#endif
- if(current_bed_raw >= target_bed_raw)
+ if(current_bed_raw >= target_bed_raw || current_bed_raw < minttemp)
{
WRITE(HEATER_1_PIN,LOW);
}