0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 09:42:34 +00:00

🧑‍💻 Update types forward decl (#27637)

This commit is contained in:
Andrew 2025-01-15 15:30:00 -05:00 committed by GitHub
parent b4688346ab
commit 8f35e9a797
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,6 +180,8 @@ template <class L, class R> struct IF<true, L, R> { 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<size_t N, bool UseArray = (N > 64)>
struct Flags;
@ -1018,8 +1020,6 @@ struct XYZEarray {
FI XYZEval<T> operator[](const int n) const { return XYZval<T>(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;