UBL Manual Build Menu Option (#6972)

One click option to manually build UBL mesh.
master
Tannoo 8 years ago committed by Roxy-3D
parent 0dd0033b33
commit 2c2b991b59

@ -170,6 +170,9 @@
#ifndef MSG_UBL_LEVEL_BED #ifndef MSG_UBL_LEVEL_BED
#define MSG_UBL_LEVEL_BED _UxGT("Unified Bed Leveling") #define MSG_UBL_LEVEL_BED _UxGT("Unified Bed Leveling")
#endif #endif
#ifndef MSG_UBL_MANUAL_MESH
#define MSG_UBL_MANUAL_MESH _UxGT("Manually Build Mesh")
#endif
#ifndef MSG_UBL_ACTIVATE_MESH #ifndef MSG_UBL_ACTIVATE_MESH
#define MSG_UBL_ACTIVATE_MESH _UxGT("Activate UBL") #define MSG_UBL_ACTIVATE_MESH _UxGT("Activate UBL")
#endif #endif

@ -2080,6 +2080,7 @@ void kill_screen(const char* lcd_msg) {
* *
* Prepare * Prepare
* - Unified Bed Leveling * - Unified Bed Leveling
* - Manually Build Mesh
* - Activate UBL * - Activate UBL
* - Deactivate UBL * - Deactivate UBL
* - Mesh Storage * - Mesh Storage
@ -2134,6 +2135,7 @@ void kill_screen(const char* lcd_msg) {
void _lcd_ubl_level_bed() { void _lcd_ubl_level_bed() {
START_MENU(); START_MENU();
MENU_BACK(MSG_PREPARE); MENU_BACK(MSG_PREPARE);
MENU_ITEM(gcode, MSG_UBL_MANUAL_MESH, PSTR("G29 I999\nG29 P2 B T0"));
MENU_ITEM(gcode, MSG_UBL_ACTIVATE_MESH, PSTR("G29 A")); MENU_ITEM(gcode, MSG_UBL_ACTIVATE_MESH, PSTR("G29 A"));
MENU_ITEM(gcode, MSG_UBL_DEACTIVATE_MESH, PSTR("G29 D")); MENU_ITEM(gcode, MSG_UBL_DEACTIVATE_MESH, PSTR("G29 D"));
MENU_ITEM(submenu, MSG_UBL_STORAGE_MESH_MENU, _lcd_ubl_storage_mesh); MENU_ITEM(submenu, MSG_UBL_STORAGE_MESH_MENU, _lcd_ubl_storage_mesh);

Loading…
Cancel
Save