diff --git a/Marlin/src/core/types.h b/Marlin/src/core/types.h index d6001ea3f3..e3c4b9e834 100644 --- a/Marlin/src/core/types.h +++ b/Marlin/src/core/types.h @@ -668,7 +668,7 @@ struct XYZEval { FI const T& operator[](const int n) const { return pos[n]; } // Assignment operator overrides do the expected thing - FI XYZEval& operator= (const T v) { set(LIST_N_1(NUM_AXES, v)); return *this; } + FI XYZEval& operator= (const T v) { set(LOGICAL_AXIS_LIST_1(v)); return *this; } FI XYZEval& operator= (const XYval &rs) { set(rs.x, rs.y); return *this; } FI XYZEval& operator= (const XYZval &rs) { set(NUM_AXIS_ELEM(rs)); return *this; }