Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Update types forward decl (#27637)
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 authored Jan 15, 2025
1 parent b468834 commit 8f35e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/core/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8f35e9a

Please sign in to comment.