Fixes for leveling sub-menus
This commit is contained in:
parent
25674da90c
commit
9b64be0bc5
|
@ -2004,7 +2004,7 @@ void kill_screen(const char* lcd_msg) {
|
||||||
#if ENABLED(LEVEL_BED_CORNERS)
|
#if ENABLED(LEVEL_BED_CORNERS)
|
||||||
// Move to the next corner for leveling
|
// Move to the next corner for leveling
|
||||||
if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
|
if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
|
||||||
MENU_ITEM(function, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
|
MENU_ITEM(submenu, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(EEPROM_SETTINGS)
|
#if ENABLED(EEPROM_SETTINGS)
|
||||||
|
@ -2015,7 +2015,7 @@ void kill_screen(const char* lcd_msg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void _lcd_goto_bed_leveling() {
|
void _lcd_goto_bed_leveling() {
|
||||||
currentScreen = lcd_bed_leveling;
|
lcd_goto_screen(lcd_bed_leveling);
|
||||||
#if ENABLED(LCD_BED_LEVELING)
|
#if ENABLED(LCD_BED_LEVELING)
|
||||||
new_level_state = planner.leveling_active;
|
new_level_state = planner.leveling_active;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue