Skip to content
Snippets Groups Projects
Commit e78f1237 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Matching mat.bed_temp condition

parent 3aecd922
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ void GcodeSuite::M145() {
if (parser.seenval('H'))
mat.hotend_temp = constrain(parser.value_int(), EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP) - (HOTEND_OVERSHOOT));
#endif
#if TEMP_SENSOR_BED != 0
#if HAS_HEATED_BED
if (parser.seenval('B'))
mat.bed_temp = constrain(parser.value_int(), BED_MINTEMP, BED_MAX_TARGET);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment