Skip to content
Snippets Groups Projects
Commit 9e86fc38 authored by Robby Candra's avatar Robby Candra Committed by Scott Lahteine
Browse files

Require homing to toggle leveling (#13652)

parent 9fd3e64b
Branches
No related tags found
No related merge requests found
...@@ -465,7 +465,7 @@ void menu_motion() { ...@@ -465,7 +465,7 @@ void menu_motion() {
#if DISABLED(PROBE_MANUALLY) #if DISABLED(PROBE_MANUALLY)
MENU_ITEM(gcode, MSG_LEVEL_BED, PSTR("G28\nG29")); MENU_ITEM(gcode, MSG_LEVEL_BED, PSTR("G28\nG29"));
#endif #endif
if (leveling_is_valid()) { if (all_axes_homed() && leveling_is_valid()) {
bool new_level_state = planner.leveling_active; bool new_level_state = planner.leveling_active;
MENU_ITEM_EDIT_CALLBACK(bool, MSG_BED_LEVELING, &new_level_state, _lcd_toggle_bed_leveling); MENU_ITEM_EDIT_CALLBACK(bool, MSG_BED_LEVELING, &new_level_state, _lcd_toggle_bed_leveling);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment