Skip to content

Commit

Permalink
🩹 Fix missing _lcd_toggle_bed_leveling (MarlinFirmware#27439)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored Sep 24, 2024
1 parent 74ffa0c commit a923771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/menu/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ void _lcd_draw_homing() {
}
}

#if ENABLED(LCD_BED_LEVELING) || (HAS_LEVELING && DISABLED(SLIM_LCD_MENUS))
#if HAS_LEVELING
void _lcd_toggle_bed_leveling() { set_bed_leveling_enabled(!planner.leveling_active); }
#endif

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/menu/menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void _lcd_draw_homing();
void menu_advanced_settings();
#endif

#if ENABLED(LCD_BED_LEVELING) || (HAS_LEVELING && DISABLED(SLIM_LCD_MENUS))
#if HAS_LEVELING
void _lcd_toggle_bed_leveling();
#endif

Expand Down

0 comments on commit a923771

Please sign in to comment.