Rename ENABLE_AUTO_BED_LEVELING
With the introduction of the #if ENABLED(…) reads better than
This commit is contained in:
parent
91fd66ffba
commit
6292d9e815
27 changed files with 173 additions and 146 deletions
|
|
@ -638,7 +638,7 @@ static void lcd_prepare_menu() {
|
|||
//
|
||||
// Level Bed
|
||||
//
|
||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
||||
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS])
|
||||
MENU_ITEM(gcode, MSG_LEVEL_BED, PSTR("G29"));
|
||||
#elif ENABLED(MANUAL_BED_LEVELING)
|
||||
|
|
@ -1041,7 +1041,7 @@ static void lcd_control_temperature_preheat_abs_settings_menu() {
|
|||
static void lcd_control_motion_menu() {
|
||||
START_MENU();
|
||||
MENU_ITEM(back, MSG_CONTROL, lcd_control_menu);
|
||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
||||
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||
MENU_ITEM_EDIT(float32, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
|
||||
#endif
|
||||
MENU_ITEM_EDIT(float5, MSG_ACC, &acceleration, 10, 99000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue