diff --git a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/leveling_menu.cpp b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/leveling_menu.cpp index ce281c685b..44e5341f64 100644 --- a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/leveling_menu.cpp +++ b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/leveling_menu.cpp @@ -70,6 +70,10 @@ using namespace Theme; #define BACK_POS BTN_POS(1,6), BTN_SIZE(3,1) #endif +#ifndef Z_ALIGN_COMMANDS + #define Z_ALIGN_COMMANDS "G34" +#endif + void LevelingMenu::onRedraw(draw_mode_t what) { if (what & BACKGROUND) { CommandProcessor cmd; @@ -116,7 +120,7 @@ bool LevelingMenu::onTouchEnd(uint8_t tag) { switch (tag) { case 1: GOTO_PREVIOUS(); break; #if ANY(Z_STEPPER_AUTO_ALIGN, MECHANICAL_GANTRY_CALIBRATION, X_LEVEL_SEQUENCE) - case 2: SpinnerDialogBox::enqueueAndWait(F(LEVELING_COMMANDS)); break; + case 2: SpinnerDialogBox::enqueueAndWait(F(Z_ALIGN_COMMANDS)); break; #endif #if HAS_BED_PROBE case 3: