Browse Source

UBL Manual Build Menu Option (#6972)

One click option to manually build UBL mesh.
Tannoo 7 years ago
parent
commit
2c2b991b59
2 changed files with 5 additions and 0 deletions
  1. 3
    0
      Marlin/language_en.h
  2. 2
    0
      Marlin/ultralcd.cpp

+ 3
- 0
Marlin/language_en.h View File

@@ -170,6 +170,9 @@
170 170
   #ifndef MSG_UBL_LEVEL_BED
171 171
     #define MSG_UBL_LEVEL_BED                 _UxGT("Unified Bed Leveling")
172 172
   #endif
173
+  #ifndef MSG_UBL_MANUAL_MESH
174
+    #define MSG_UBL_MANUAL_MESH               _UxGT("Manually Build Mesh")
175
+  #endif
173 176
   #ifndef MSG_UBL_ACTIVATE_MESH
174 177
     #define MSG_UBL_ACTIVATE_MESH             _UxGT("Activate UBL")
175 178
   #endif

+ 2
- 0
Marlin/ultralcd.cpp View File

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

Loading…
Cancel
Save