Skip to content

Commit 18e65f5

Browse files
committed
🩹 Fix _U and other conflicts
Fix #26220
1 parent 5ed6bf6 commit 18e65f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Marlin/src/core/types.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ class AxisBits {
937937
typedef bits_t(NUM_AXIS_ENUMS) el;
938938
union {
939939
el bits;
940-
// x, y, z ... e0, e1, e2 ... hx, hy, hz
940+
// Axes x, y, z ... e0, e1, e2 ... hx, hy, hz
941941
struct {
942942
#if NUM_AXES
943943
bool NUM_AXIS_LIST(x:1, y:1, z:1, i:1, j:1, k:1, u:1, v:1, w:1);
@@ -949,7 +949,7 @@ class AxisBits {
949949
bool hx:1, hy:1, hz:1;
950950
#endif
951951
};
952-
// X, Y, Z ... E0, E1, E2 ... HX, HY, HZ
952+
// Axes X, Y, Z ... E0, E1, E2 ... HX, HY, HZ
953953
struct {
954954
#if NUM_AXES
955955
bool NUM_AXIS_LIST(X:1, Y:1, Z:1, I:1, J:1, K:1, U:1, V:1, W:1);
@@ -963,7 +963,7 @@ class AxisBits {
963963
};
964964
// a, b, c, e ... ha, hb, hc
965965
struct {
966-
bool LOGICAL_AXIS_LIST(e:1, a:1, b:1, c:1, _i:1, _j:1, _k:1, _u:1, _v:1, _w:1);
966+
bool LOGICAL_AXIS_LIST(e:1, a:1, b:1, c:1, ii:1, jj:1, kk:1, uu:1, vv:1, ww:1);
967967
#if EXTRUDERS > 1
968968
#define _EN_ITEM(N) bool _e##N:1;
969969
REPEAT_S(1,EXTRUDERS,_EN_ITEM)
@@ -975,7 +975,7 @@ class AxisBits {
975975
};
976976
// A, B, C, E ... HA, HB, HC
977977
struct {
978-
bool LOGICAL_AXIS_LIST(E:1, A:1, B:1, C:1, _I:1, _J:1, _K:1, _U:1, _V:1, _W:1);
978+
bool LOGICAL_AXIS_LIST(E:1, A:1, B:1, C:1, II:1, JJ:1, KK:1, UU:1, VV:1, WW:1);
979979
#if EXTRUDERS > 1
980980
#define _EN_ITEM(N) bool _E##N:1;
981981
REPEAT_S(1,EXTRUDERS,_EN_ITEM)

0 commit comments

Comments
 (0)