Skip to content

Commit

Permalink
🚑️ Fix XYZEval = N not setting E
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 29, 2022
1 parent 889d122 commit 3638ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/core/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>& operator= (const T v) { set(LIST_N_1(NUM_AXES, v)); return *this; }
FI XYZEval<T>& operator= (const T v) { set(LOGICAL_AXIS_LIST_1(v)); return *this; }
FI XYZEval<T>& operator= (const XYval<T> &rs) { set(rs.x, rs.y); return *this; }
FI XYZEval<T>& operator= (const XYZval<T> &rs) { set(NUM_AXIS_ELEM(rs)); return *this; }

Expand Down

0 comments on commit 3638ce2

Please sign in to comment.