Browse Source

Show "Level Bed Corners" with UBL too

Addressing #8676
Scott Lahteine 6 years ago
parent
commit
aeb5c623c1
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      Marlin/src/lcd/ultralcd.cpp

+ 5
- 4
Marlin/src/lcd/ultralcd.cpp View File

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

Loading…
Cancel
Save