Skip to main content
Sign in
Snippets Groups Projects
Commit cef1de89 authored by Marcio Teixeira's avatar Marcio Teixeira Committed by Scott Lahteine
Browse files

Fixed incorrect axis index. (#12051)

parent d52deeb1
Branches
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ namespace UI { ...@@ -115,7 +115,7 @@ namespace UI {
set_destination_from_current(); set_destination_from_current();
switch (axis) { switch (axis) {
case X: case Y: case Z: case X: case Y: case Z:
destination[Z_AXIS] = position; destination[axis] = position;
break; break;
case E0: case E1: case E2: case E3: case E4: case E5: case E0: case E1: case E2: case E3: case E4: case E5:
destination[E_AXIS] = position; destination[E_AXIS] = position;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment