Pārlūkot izejas kodu

Fixes for leveling sub-menus

Scott Lahteine 7 gadus atpakaļ
vecāks
revīzija
9b64be0bc5
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      Marlin/src/lcd/ultralcd.cpp

+ 2
- 2
Marlin/src/lcd/ultralcd.cpp Parādīt failu

@@ -2004,7 +2004,7 @@ void kill_screen(const char* lcd_msg) {
2004 2004
       #if ENABLED(LEVEL_BED_CORNERS)
2005 2005
         // Move to the next corner for leveling
2006 2006
         if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
2007
-          MENU_ITEM(function, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
2007
+          MENU_ITEM(submenu, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
2008 2008
       #endif
2009 2009
 
2010 2010
       #if ENABLED(EEPROM_SETTINGS)
@@ -2015,7 +2015,7 @@ void kill_screen(const char* lcd_msg) {
2015 2015
     }
2016 2016
 
2017 2017
     void _lcd_goto_bed_leveling() {
2018
-      currentScreen = lcd_bed_leveling;
2018
+      lcd_goto_screen(lcd_bed_leveling);
2019 2019
       #if ENABLED(LCD_BED_LEVELING)
2020 2020
         new_level_state = planner.leveling_active;
2021 2021
       #endif

Notiek ielāde…
Atcelt
Saglabāt