diff --git a/Marlin/src/core/types.h b/Marlin/src/core/types.h index 679cb2ce13e7..d92dbde8b7a4 100644 --- a/Marlin/src/core/types.h +++ b/Marlin/src/core/types.h @@ -159,7 +159,7 @@ template struct IF { typedef L type; }; // General Flags for some number of states template struct Flags { - typedef value_t(N) flagbits_t; + typedef uvalue_t(N) flagbits_t; typedef struct { bool b0:1, b1:1, b2:1, b3:1, b4:1, b5:1, b6:1, b7:1; } N8; typedef struct { bool b0:1, b1:1, b2:1, b3:1, b4:1, b5:1, b6:1, b7:1, b8:1, b9:1, b10:1, b11:1, b12:1, b13:1, b14:1, b15:1; } N16; typedef struct { bool b0:1, b1:1, b2:1, b3:1, b4:1, b5:1, b6:1, b7:1, b8:1, b9:1, b10:1, b11:1, b12:1, b13:1, b14:1, b15:1, diff --git a/Marlin/src/module/motion.h b/Marlin/src/module/motion.h index ae9224dea4d4..c7558db43fc4 100644 --- a/Marlin/src/module/motion.h +++ b/Marlin/src/module/motion.h @@ -144,9 +144,9 @@ XYZ_DEFS(int8_t, home_dir, HOME_DIR); // Flags for rotational axes constexpr AxisFlags rotational{0 LOGICAL_AXIS_GANG( - || 0, || 0, || 0, || 0, - || (ENABLED(AXIS4_ROTATES)<