Browse Source

🚑️ Fix XYZEval = N not setting E

Scott Lahteine 2 years ago
parent
commit
7b0eb2d9f8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/core/types.h

+ 1
- 1
Marlin/src/core/types.h View File

@@ -688,7 +688,7 @@ struct XYZEval {
688 688
   FI const T&    operator[](const int n)            const { return pos[n]; }
689 689
 
690 690
   // Assignment operator overrides do the expected thing
691
-  FI XYZEval<T>& operator= (const T v)                    { set(LIST_N_1(NUM_AXES, v)); return *this; }
691
+  FI XYZEval<T>& operator= (const T v)                    { set(LOGICAL_AXIS_LIST_1(v)); return *this; }
692 692
   FI XYZEval<T>& operator= (const XYval<T>   &rs)         { set(rs.x, rs.y); return *this; }
693 693
   FI XYZEval<T>& operator= (const XYZval<T>  &rs)         { set(NUM_AXIS_ELEM(rs)); return *this; }
694 694
 

Loading…
Cancel
Save