Guards for large BLOCK_BUFFER_SIZE (>=128) (#20130)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@ -287,6 +287,10 @@ typedef struct {
|
||||
#endif
|
||||
} skew_factor_t;
|
||||
|
||||
#if ENABLED(DISABLE_INACTIVE_EXTRUDER)
|
||||
typedef IF<(BLOCK_BUFFER_SIZE > 64), uint16_t, uint8_t>::type last_move_t;
|
||||
#endif
|
||||
|
||||
class Planner {
|
||||
public:
|
||||
|
||||
@ -435,7 +439,7 @@ class Planner {
|
||||
|
||||
#if ENABLED(DISABLE_INACTIVE_EXTRUDER)
|
||||
// Counters to manage disabling inactive extruders
|
||||
static uint8_t g_uc_extruder_last_move[EXTRUDERS];
|
||||
static last_move_t g_uc_extruder_last_move[EXTRUDERS];
|
||||
#endif
|
||||
|
||||
#if HAS_WIRED_LCD
|
||||
|
Reference in New Issue
Block a user