mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-29 02:40:41 -07:00
parent
9a8b1eab93
commit
2cf4d02a32
1 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue