From 771ee1c1a9c683fe3cf43f1d6021644cb4116519 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 2 Apr 2016 18:20:47 -0700 Subject: [PATCH] Update MBL menu sub-function names --- Marlin/ultralcd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index deecb65347..28ce54194d 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -2482,7 +2482,7 @@ char* ftostr52(const float& x) { * - Movement adjusts the Z axis * - 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; // Menu handlers may be called in a re-entrant fashion // 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; line_to_current(manual_feedrate[X_AXIS] <= manual_feedrate[Y_AXIS] ? X_AXIS : Y_AXIS); _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... */ - static void lcd_level_bed_continue() { + static void _lcd_level_bed_continue() { defer_return_to_status = true; axis_known_position[X_AXIS] = axis_known_position[Y_AXIS] = axis_known_position[Z_AXIS] = false; mbl.reset(); @@ -2601,7 +2601,7 @@ char* ftostr52(const float& x) { static void lcd_level_bed() { START_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(); }