|
@@ -889,9 +889,9 @@ void lcd_cooldown() {
|
889
|
889
|
static int _lcd_level_bed_position;
|
890
|
890
|
|
891
|
891
|
/**
|
892
|
|
- * MBL Wait for controller movement and clicks:
|
893
|
|
- * - Movement adjusts the Z axis
|
894
|
|
- * - Click saves the Z and goes to the next mesh point
|
|
892
|
+ * 5. MBL Wait for controller movement and clicks:
|
|
893
|
+ * - Movement adjusts the Z axis
|
|
894
|
+ * - Click saves the Z, goes to the next mesh point
|
895
|
895
|
*/
|
896
|
896
|
static void _lcd_level_bed_procedure() {
|
897
|
897
|
static bool mbl_wait_for_move = false;
|
|
@@ -973,6 +973,10 @@ void lcd_cooldown() {
|
973
|
973
|
}
|
974
|
974
|
}
|
975
|
975
|
|
|
976
|
+ /**
|
|
977
|
+ * 4. MBL Display "Click to Begin", wait for click
|
|
978
|
+ * Move to the first probe position
|
|
979
|
+ */
|
976
|
980
|
static void _lcd_level_bed_homing_done() {
|
977
|
981
|
if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_LEVEL_BED_WAITING), NULL);
|
978
|
982
|
lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW;
|
|
@@ -988,7 +992,7 @@ void lcd_cooldown() {
|
988
|
992
|
}
|
989
|
993
|
|
990
|
994
|
/**
|
991
|
|
- * MBL Move to mesh starting point
|
|
995
|
+ * 3. MBL Display "Hoing XYZ" - Wait for homing to finish
|
992
|
996
|
*/
|
993
|
997
|
static void _lcd_level_bed_homing() {
|
994
|
998
|
if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_LEVEL_BED_HOMING), NULL);
|
|
@@ -998,7 +1002,7 @@ void lcd_cooldown() {
|
998
|
1002
|
}
|
999
|
1003
|
|
1000
|
1004
|
/**
|
1001
|
|
- * MBL Continue Bed Leveling...
|
|
1005
|
+ * 2. MBL Continue Bed Leveling...
|
1002
|
1006
|
*/
|
1003
|
1007
|
static void _lcd_level_bed_continue() {
|
1004
|
1008
|
defer_return_to_status = true;
|
|
@@ -1009,7 +1013,7 @@ void lcd_cooldown() {
|
1009
|
1013
|
}
|
1010
|
1014
|
|
1011
|
1015
|
/**
|
1012
|
|
- * MBL entry-point
|
|
1016
|
+ * 1. MBL entry-point: "Cancel" or "Level Bed"
|
1013
|
1017
|
*/
|
1014
|
1018
|
static void lcd_level_bed() {
|
1015
|
1019
|
START_MENU();
|