Browse Source

Matching mat.bed_temp condition

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
e78f1237ea
  1. 2
      Marlin/src/gcode/lcd/M145.cpp

2
Marlin/src/gcode/lcd/M145.cpp

@ -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

Loading…
Cancel
Save