mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
Matching mat.bed_temp condition
This commit is contained in:
parent
3aecd92298
commit
e78f1237ea
@ -45,7 +45,7 @@ void GcodeSuite::M145() {
|
|||||||
if (parser.seenval('H'))
|
if (parser.seenval('H'))
|
||||||
mat.hotend_temp = constrain(parser.value_int(), EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP) - (HOTEND_OVERSHOOT));
|
mat.hotend_temp = constrain(parser.value_int(), EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP) - (HOTEND_OVERSHOOT));
|
||||||
#endif
|
#endif
|
||||||
#if TEMP_SENSOR_BED != 0
|
#if HAS_HEATED_BED
|
||||||
if (parser.seenval('B'))
|
if (parser.seenval('B'))
|
||||||
mat.bed_temp = constrain(parser.value_int(), BED_MINTEMP, BED_MAX_TARGET);
|
mat.bed_temp = constrain(parser.value_int(), BED_MINTEMP, BED_MAX_TARGET);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user