From 6cb9bb27fec0e7f67c372c798b90fd8536f70225 Mon Sep 17 00:00:00 2001 From: Bob-the-Kuhn Date: Thu, 15 Jun 2017 23:54:16 -0500 Subject: [PATCH] Move lcd_refresh_zprobe_zoffset definition --- Marlin/ultralcd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index 71deaa1ee7..23cdba92cc 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -1506,7 +1506,11 @@ void kill_screen(const char* lcd_msg) { static void lcd_load_settings() { lcd_completion_feedback(settings.load()); } #endif - #if ENABLED(LCD_BED_LEVELING) + #if HAS_BED_PROBE && DISABLED(BABYSTEP_ZPROBE_OFFSET) + static void lcd_refresh_zprobe_zoffset() { refresh_zprobe_zoffset(); } + #endif + +#if ENABLED(LCD_BED_LEVELING) /** * @@ -3156,10 +3160,6 @@ void kill_screen(const char* lcd_msg) { #endif // E_STEPPERS > 2 #endif - #if HAS_BED_PROBE && DISABLED(BABYSTEP_ZPROBE_OFFSET) - static void lcd_refresh_zprobe_zoffset() { refresh_zprobe_zoffset(); } - #endif - // M203 / M205 Velocity options void lcd_control_motion_velocity_menu() { START_MENU();