XYZ_CHAR macro
This commit is contained in:
parent
3473b21710
commit
c4db8e49a7
12 changed files with 30 additions and 29 deletions
|
|
@ -135,7 +135,7 @@ void GcodeSuite::get_destination_from_command() {
|
|||
|
||||
// Get new XYZ position, whether absolute or relative
|
||||
LOOP_XYZ(i) {
|
||||
if ( (seen[i] = parser.seenval(axis_codes[i])) ) {
|
||||
if ( (seen[i] = parser.seenval(XYZ_CHAR(i))) ) {
|
||||
const float v = parser.value_axis_units((AxisEnum)i);
|
||||
if (skip_move)
|
||||
destination[i] = current_position[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue