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

@@ -131,7 +131,7 @@ void _lcd_ubl_custom_mesh() {
MENU_BACK(MSG_UBL_BUILD_MESH_MENU);
MENU_ITEM_EDIT(int3, MSG_UBL_HOTEND_TEMP_CUSTOM, &custom_hotend_temp, EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP - 10));
#if HAS_HEATED_BED
MENU_ITEM_EDIT(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP, (BED_MAXTEMP - 15));
MENU_ITEM_EDIT(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP, (BED_MAXTEMP - 10));
#endif
MENU_ITEM(function, MSG_UBL_BUILD_CUSTOM_MESH, _lcd_ubl_build_custom_mesh);
END_MENU();