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:
parent
f131f08bb6
commit
02dfbc071d
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue