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

@ -571,8 +571,8 @@ void GcodeSuite::G26() {
if (parser.seenval('B')) {
g26_bed_temp = parser.value_celsius();
if (g26_bed_temp && !WITHIN(g26_bed_temp, 40, (BED_MAXTEMP - 15))) {
SERIAL_ECHOLNPAIR("?Specified bed temperature not plausible (40-", int(BED_MAXTEMP - 15), "C).");
if (g26_bed_temp && !WITHIN(g26_bed_temp, 40, (BED_MAXTEMP - 10))) {
SERIAL_ECHOLNPAIR("?Specified bed temperature not plausible (40-", int(BED_MAXTEMP - 10), "C).");
return;
}
}