Skip to content

Commit

Permalink
move BabyStep from Machine into Auto Leveling
Browse files Browse the repository at this point in the history
  • Loading branch information
Msq001 authored and bigtreetech committed Nov 19, 2019
1 parent aa2c9f1 commit 8102972
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions TFT/src/User/Menu/MachineSettings.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ LABEL_MACHINE_SETTINGS,
// {ICON_BLTOUCH, LABEL_BLTOUCH},
{ICON_GCODE, LABEL_GCODE},
{ICON_SHUT_DOWN, LABEL_SHUT_DOWN},
{ICON_BABYSTEP, LABEL_BABYSTEP},
{ICON_BACKGROUND, LABEL_BACKGROUND},
{ICON_BACKGROUND, LABEL_BACKGROUND},
{ICON_BACKGROUND, LABEL_BACKGROUND},
{ICON_BACK, LABEL_BACK},}
Expand Down Expand Up @@ -200,10 +200,6 @@ void menuMachineSettings(void)
storeCmd("M81\n");
break;

case KEY_ICON_4:
infoMenu.menu[++infoMenu.cur] = menuBabyStep;
break;

case KEY_ICON_7:
infoMenu.cur--;
break;
Expand Down
5 changes: 4 additions & 1 deletion TFT/src/User/Menu/leveling.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LABEL_ABL,
{ICON_BLTOUCH_TEST, LABEL_BLTOUCH_TEST},
{ICON_BLTOUCH_REPEAT, LABEL_BLTOUCH_REPEAT},
{ICON_PROBE_OFFSET, LABEL_PROBE_OFFSET},
{ICON_BACKGROUND, LABEL_BACKGROUND},
{ICON_BABYSTEP, LABEL_BABYSTEP},
{ICON_BACK, LABEL_BACK},}
};

Expand Down Expand Up @@ -44,6 +44,9 @@ void menuAutoLeveling(void)
storeCmd("M851\n");
infoMenu.menu[++infoMenu.cur] = menuProbeOffset;
break;
case KEY_ICON_6:
infoMenu.menu[++infoMenu.cur] = menuBabyStep;
break;
case KEY_ICON_7:
infoMenu.cur--; break;
default:break;
Expand Down

0 comments on commit 8102972

Please sign in to comment.