Added MINTEMP to work on the heated bed too, so it will also turn off when thermistor fails.

This commit is contained in:
blddk 2011-08-03 01:47:56 +03:00
parent ef66ecf5f1
commit f131f08bb6

View file

@ -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);
}