Fixed so commenting out MINTEMP won't break compile, however, commenting out MINTEMP will then again allow the bed to be turned on, but not off, when there are no thermistor, or thermistor is broken.

This commit is contained in:
blddk 2011-08-03 12:44:28 +03:00
parent f131f08bb6
commit 02dfbc071d

View file

@ -1498,7 +1498,11 @@ void manage_heater()
#endif
#ifdef MINTEMP
if(current_bed_raw >= target_bed_raw || current_bed_raw < minttemp)
#else
if(current_bed_raw >= target_bed_raw)
#endif
{
WRITE(HEATER_1_PIN,LOW);
}