소스 검색

Tweaks to bed leveling menus

Scott Lahteine 7 년 전
부모
커밋
3cf31205bc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp 파일 보기

@@ -2009,7 +2009,7 @@ void kill_screen(const char* lcd_msg) {
2009 2009
       #if ENABLED(LEVEL_BED_CORNERS)
2010 2010
         // Move to the next corner for leveling
2011 2011
         if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
2012
-          MENU_ITEM(function, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
2012
+          MENU_ITEM(submenu, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
2013 2013
       #endif
2014 2014
 
2015 2015
       #if ENABLED(EEPROM_SETTINGS)
@@ -2020,7 +2020,7 @@ void kill_screen(const char* lcd_msg) {
2020 2020
     }
2021 2021
 
2022 2022
     void _lcd_goto_bed_leveling() {
2023
-      currentScreen = lcd_bed_leveling;
2023
+      lcd_goto_screen(lcd_bed_leveling);
2024 2024
       #if ENABLED(LCD_BED_LEVELING)
2025 2025
         new_level_state = planner.leveling_active;
2026 2026
       #endif

Loading…
취소
저장