Limit top bed temp to BED_MAXTEMP - 10

The chances of a 10° overshoot is pretty minimal.
This commit is contained in:
Scott Lahteine
2019-03-11 16:32:34 -05:00
parent 98b55421a5
commit e52bcc9408
8 changed files with 9 additions and 9 deletions

View File

@ -52,7 +52,7 @@ void GcodeSuite::M145() {
#if TEMP_SENSOR_BED != 0
if (parser.seenval('B')) {
v = parser.value_int();
ui.preheat_bed_temp[material] = constrain(v, BED_MINTEMP, BED_MAXTEMP - 15);
ui.preheat_bed_temp[material] = constrain(v, BED_MINTEMP, BED_MAXTEMP - 10);
}
#endif
}