mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-22 17:52:57 +00:00
🧑💻 Update types forward decl (#27637)
This commit is contained in:
parent
b4688346ab
commit
8f35e9a797
1 changed files with 2 additions and 2 deletions
|
@ -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 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
|
#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
|
// 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)>
|
template<size_t N, bool UseArray = (N > 64)>
|
||||||
struct Flags;
|
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])); }
|
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 {
|
class AxisBits {
|
||||||
public:
|
public:
|
||||||
typedef bits_t(NUM_AXIS_HEADS) el;
|
typedef bits_t(NUM_AXIS_HEADS) el;
|
||||||
|
|
Loading…
Reference in a new issue