ソースを参照

Tweaks to bed leveling menus

Scott Lahteine 7年前
コミット
3cf31205bc
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp ファイルの表示

2009
       #if ENABLED(LEVEL_BED_CORNERS)
2009
       #if ENABLED(LEVEL_BED_CORNERS)
2010
         // Move to the next corner for leveling
2010
         // Move to the next corner for leveling
2011
         if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
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
       #endif
2013
       #endif
2014
 
2014
 
2015
       #if ENABLED(EEPROM_SETTINGS)
2015
       #if ENABLED(EEPROM_SETTINGS)
2020
     }
2020
     }
2021
 
2021
 
2022
     void _lcd_goto_bed_leveling() {
2022
     void _lcd_goto_bed_leveling() {
2023
-      currentScreen = lcd_bed_leveling;
2023
+      lcd_goto_screen(lcd_bed_leveling);
2024
       #if ENABLED(LCD_BED_LEVELING)
2024
       #if ENABLED(LCD_BED_LEVELING)
2025
         new_level_state = planner.leveling_active;
2025
         new_level_state = planner.leveling_active;
2026
       #endif
2026
       #endif

読み込み中…
キャンセル
保存