Wrap some macros
This commit is contained in:
parent
65104b7d78
commit
97e47b4494
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ void GcodeSuite::M145() {
|
|||
int v;
|
||||
if (parser.seenval('H')) {
|
||||
v = parser.value_int();
|
||||
ui.preheat_hotend_temp[material] = constrain(v, EXTRUDE_MINTEMP, HEATER_0_MAXTEMP - HOTEND_OVERSHOOT);
|
||||
ui.preheat_hotend_temp[material] = constrain(v, EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP) - (HOTEND_OVERSHOOT));
|
||||
}
|
||||
if (parser.seenval('F')) {
|
||||
v = parser.value_int();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue