Explorar el Código

🐛 Fix VW axis fields in types.h (#24780)

ellensp hace 2 años
padre
commit
4a2b08f883
No account linked to committer's email address
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4
    4
      Marlin/src/core/types.h

+ 4
- 4
Marlin/src/core/types.h Ver fichero

@@ -494,10 +494,10 @@ struct XYZval {
494 494
     FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; }
495 495
   #endif
496 496
   #if HAS_V_AXIS
497
-    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pm) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; }
497
+    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pu) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; }
498 498
   #endif
499 499
   #if HAS_W_AXIS
500
-    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pm, const T po) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; v = pv; }
500
+    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pu, const T pv) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; v = pv; }
501 501
   #endif
502 502
 
503 503
   // Length reduced to one dimension
@@ -634,10 +634,10 @@ struct XYZEval {
634 634
     FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk)                         { x = px; y = py; z = pz; i = pi; j = pj; k = pk; }
635 635
   #endif
636 636
   #if HAS_V_AXIS
637
-    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pm)             { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; }
637
+    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pu)             { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; }
638 638
   #endif
639 639
   #if HAS_W_AXIS
640
-    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pm, const T po) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pm; v = pv; }
640
+    FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pu, const T pv) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; v = pv; }
641 641
   #endif
642 642
 
643 643
   // Setters taking struct types and arrays

Loading…
Cancelar
Guardar