UMW follow-up (#21791)

This commit is contained in:
Vert 2021-05-03 22:07:57 -04:00 committed by GitHub
parent dfc906930c
commit f4f41d01bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -618,6 +618,7 @@ void _menu_ubl_tools() {
sprintf_P(ubl_lcd_gcode, PSTR("M1004S%i"), ubl_storage_slot); sprintf_P(ubl_lcd_gcode, PSTR("M1004S%i"), ubl_storage_slot);
#endif #endif
queue.inject(ubl_lcd_gcode); queue.inject(ubl_lcd_gcode);
ui.return_to_status();
} }
void _menu_ubl_mesh_wizard() { void _menu_ubl_mesh_wizard() {
@ -626,11 +627,11 @@ void _menu_ubl_tools() {
BACK_ITEM(MSG_UBL_LEVEL_BED); BACK_ITEM(MSG_UBL_LEVEL_BED);
#if HAS_HOTEND #if HAS_HOTEND
EDIT_ITEM(int3, MSG_UBL_HOTEND_TEMP_CUSTOM, &custom_hotend_temp, EXTRUDE_MINTEMP, thermalManager.hotend_max_target(0)); EDIT_ITEM(int3, MSG_UBL_HOTEND_TEMP_CUSTOM, &custom_hotend_temp, HEATER_0_MINTEMP + 20, thermalManager.hotend_max_target(0));
#endif #endif
#if HAS_HEATED_BED #if HAS_HEATED_BED
EDIT_ITEM(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP, BED_MAX_TARGET); EDIT_ITEM(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP + 20, BED_MAX_TARGET);
#endif #endif
EDIT_ITEM(int3, MSG_UBL_STORAGE_SLOT, &ubl_storage_slot, 0, total_slots); EDIT_ITEM(int3, MSG_UBL_STORAGE_SLOT, &ubl_storage_slot, 0, total_slots);