mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fixed incorrect axis index. (#12051)
This commit is contained in:
parent
d52deeb15a
commit
cef1de89d0
@ -115,7 +115,7 @@ namespace UI {
|
||||
set_destination_from_current();
|
||||
switch (axis) {
|
||||
case X: case Y: case Z:
|
||||
destination[Z_AXIS] = position;
|
||||
destination[axis] = position;
|
||||
break;
|
||||
case E0: case E1: case E2: case E3: case E4: case E5:
|
||||
destination[E_AXIS] = position;
|
||||
|
Loading…
Reference in New Issue
Block a user