🐛 Fix LCD_BED_LEVELING compile (#23298)

This commit is contained in:
ellensp
2021-12-14 19:25:28 +13:00
committed by GitHub
parent b464a4b1a4
commit a4678d9e27

View File

@@ -345,7 +345,7 @@ void _lcd_draw_homing() {
}
}
#if HAS_LEVELING && DISABLED(SLIM_LCD_MENUS)
#if ENABLED(LCD_BED_LEVELING) || (HAS_LEVELING && DISABLED(SLIM_LCD_MENUS))
void _lcd_toggle_bed_leveling() { set_bed_leveling_enabled(!planner.leveling_active); }
#endif