diff --git a/Marlin/src/core/types.h b/Marlin/src/core/types.h index 74570ced76..68adadc95d 100644 --- a/Marlin/src/core/types.h +++ b/Marlin/src/core/types.h @@ -180,6 +180,8 @@ template struct IF { typedef L type; }; #define uvalue_t(V) typename IF<((V)>65535), uint32_t, typename IF<((V)>255), uint16_t, uint8_t>::type>::type #define value_t(V) typename IF<((V)>32767), int32_t, typename IF<((V)>127), int16_t, int8_t>::type>::type +class BitProxy; + // Define a template for a bit field of N bits, using the smallest type that can hold N bits template 64)> struct Flags; @@ -1018,8 +1020,6 @@ struct XYZEarray { FI XYZEval operator[](const int n) const { return XYZval(LOGICAL_AXIS_ARRAY(e[n], x[n], y[n], z[n], i[n], j[n], k[n], u[n], v[n], w[n])); } }; -class AxisBits; - class AxisBits { public: typedef bits_t(NUM_AXIS_HEADS) el;