Update MBL menu sub-function names

This commit is contained in:
Scott Lahteine 2016-04-02 18:20:47 -07:00
parent d659777e70
commit 771ee1c1a9

View File

@ -2482,7 +2482,7 @@ char* ftostr52(const float& x) {
* - Movement adjusts the Z axis * - Movement adjusts the Z axis
* - Click saves the Z and goes to the next mesh point * - Click saves the Z and goes to the next mesh point
*/ */
static void _lcd_level_bed() { static void _lcd_level_bed_procedure() {
static bool mbl_wait_for_move = false; static bool mbl_wait_for_move = false;
// Menu handlers may be called in a re-entrant fashion // Menu handlers may be called in a re-entrant fashion
// if they call st_synchronize or plan_buffer_line. So // if they call st_synchronize or plan_buffer_line. So
@ -2570,7 +2570,7 @@ char* ftostr52(const float& x) {
current_position[Y_AXIS] = MESH_MIN_Y; current_position[Y_AXIS] = MESH_MIN_Y;
line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS); line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS);
_lcd_level_bed_position = 0; _lcd_level_bed_position = 0;
lcd_goto_menu(_lcd_level_bed, true); lcd_goto_menu(_lcd_level_bed_procedure, true);
} }
} }
@ -2587,7 +2587,7 @@ char* ftostr52(const float& x) {
/** /**
* MBL Continue Bed Leveling... * MBL Continue Bed Leveling...
*/ */
static void lcd_level_bed_continue() { static void _lcd_level_bed_continue() {
defer_return_to_status = true; defer_return_to_status = true;
axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false; axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false;
mbl.reset(); mbl.reset();
@ -2601,7 +2601,7 @@ char* ftostr52(const float& x) {
static void lcd_level_bed() { static void lcd_level_bed() {
START_MENU(); START_MENU();
MENU_ITEM(back, "Cancel", lcd_prepare_menu); MENU_ITEM(back, "Cancel", lcd_prepare_menu);
MENU_ITEM(submenu, MSG_LEVEL_BED, lcd_level_bed_continue); MENU_ITEM(submenu, MSG_LEVEL_BED, _lcd_level_bed_continue);
END_MENU(); END_MENU();
} }