Browse Source

Merge pull request #7078 from thinkyhead/bf_cleanups_fixes

Move lcd_refresh_zprobe_zoffset definition
Scott Lahteine 8 years ago
parent
commit
311f6aff72
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Marlin/ultralcd.cpp

+ 5
- 5
Marlin/ultralcd.cpp View File

@@ -1506,7 +1506,11 @@ void kill_screen(const char* lcd_msg) {
1506 1506
     static void lcd_load_settings()    { lcd_completion_feedback(settings.load()); }
1507 1507
   #endif
1508 1508
 
1509
-  #if ENABLED(LCD_BED_LEVELING)
1509
+  #if HAS_BED_PROBE && DISABLED(BABYSTEP_ZPROBE_OFFSET)
1510
+    static void lcd_refresh_zprobe_zoffset() { refresh_zprobe_zoffset(); }
1511
+  #endif
1512
+
1513
+#if ENABLED(LCD_BED_LEVELING)
1510 1514
 
1511 1515
     /**
1512 1516
      *
@@ -3156,10 +3160,6 @@ void kill_screen(const char* lcd_msg) {
3156 3160
     #endif // E_STEPPERS > 2
3157 3161
   #endif
3158 3162
 
3159
-  #if HAS_BED_PROBE && DISABLED(BABYSTEP_ZPROBE_OFFSET)
3160
-    static void lcd_refresh_zprobe_zoffset() { refresh_zprobe_zoffset(); }
3161
-  #endif
3162
-
3163 3163
   // M203 / M205 Velocity options
3164 3164
   void lcd_control_motion_velocity_menu() {
3165 3165
     START_MENU();

Loading…
Cancel
Save