Browse Source

Show "Level Bed Corners" item with UBL too

Addressing #8676
Scott Lahteine 7 years ago
parent
commit
d951ba83e6
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      Marlin/ultralcd.cpp

+ 5
- 4
Marlin/ultralcd.cpp View File

@@ -2553,10 +2553,11 @@ void kill_screen(const char* lcd_msg) {
2553 2553
       #if PLANNER_LEVELING
2554 2554
         MENU_ITEM(gcode, MSG_BED_LEVELING, PSTR("G28\nG29"));
2555 2555
       #endif
2556
-      #if ENABLED(LEVEL_BED_CORNERS)
2557
-        if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
2558
-          MENU_ITEM(function, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
2559
-      #endif
2556
+    #endif
2557
+
2558
+    #if ENABLED(LEVEL_BED_CORNERS) && DISABLED(LCD_BED_LEVELING)
2559
+      if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
2560
+        MENU_ITEM(function, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
2560 2561
     #endif
2561 2562
 
2562 2563
     #if HAS_M206_COMMAND

Loading…
Cancel
Save