Combine more tool-change variables (#12137)
This commit is contained in:
committed by
Scott Lahteine
parent
147e270208
commit
6471a75a22
@ -313,6 +313,18 @@
|
||||
#error "TOOLCHANGE_PARK_ZLIFT and TOOLCHANGE_UNPARK_ZLIFT are now TOOLCHANGE_ZRAISE. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_TOOLCHANGE_ZRAISE)
|
||||
#error "SINGLENOZZLE_TOOLCHANGE_ZRAISE is now TOOLCHANGE_ZRAISE. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_SWAP_LENGTH)
|
||||
#error "SINGLENOZZLE_SWAP_LENGTH is now TOOLCHANGE_FIL_SWAP_LENGTH. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_SWAP_RETRACT_SPEED)
|
||||
#error "SINGLENOZZLE_SWAP_RETRACT_SPEED is now TOOLCHANGE_FIL_SWAP_RETRACT_SPEED. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_SWAP_PRIME_SPEED)
|
||||
#error "SINGLENOZZLE_SWAP_PRIME_SPEED is now TOOLCHANGE_FIL_SWAP_PRIME_SPEED. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_SWAP_PARK)
|
||||
#error "SINGLENOZZLE_SWAP_PARK is now TOOLCHANGE_PARK. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_TOOLCHANGE_XY)
|
||||
#error "SINGLENOZZLE_TOOLCHANGE_XY is now TOOLCHANGE_PARK_XY. Please update your configuration."
|
||||
#elif defined(SINGLENOZZLE_PARK_XY_FEEDRATE)
|
||||
#error "SINGLENOZZLE_PARK_XY_FEEDRATE is now TOOLCHANGE_PARK_XY_FEEDRATE. Please update your configuration."
|
||||
#elif defined(PARKING_EXTRUDER_SECURITY_RAISE)
|
||||
#error "PARKING_EXTRUDER_SECURITY_RAISE is now TOOLCHANGE_ZRAISE. Please update your configuration."
|
||||
#elif defined(SWITCHING_TOOLHEAD_SECURITY_RAISE)
|
||||
@ -627,26 +639,26 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
||||
#error "EXTRUDERS must be 1 with HEATERS_PARALLEL."
|
||||
#endif
|
||||
|
||||
#if ENABLED(SINGLENOZZLE)
|
||||
#ifndef SINGLENOZZLE_SWAP_LENGTH
|
||||
#error "SINGLENOZZLE requires SINGLENOZZLE_SWAP_LENGTH. Please update your Configuration."
|
||||
#elif !defined(SINGLENOZZLE_SWAP_RETRACT_SPEED)
|
||||
#error "SINGLENOZZLE requires SINGLENOZZLE_SWAP_RETRACT_SPEED. Please update your Configuration."
|
||||
#elif !defined(SINGLENOZZLE_SWAP_PRIME_SPEED)
|
||||
#error "SINGLENOZZLE requires SINGLENOZZLE_SWAP_PRIME_SPEED. Please update your Configuration."
|
||||
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
||||
#ifndef TOOLCHANGE_FIL_SWAP_LENGTH
|
||||
#error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FIL_SWAP_LENGTH. Please update your Configuration."
|
||||
#elif !defined(TOOLCHANGE_FIL_SWAP_RETRACT_SPEED)
|
||||
#error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FIL_SWAP_RETRACT_SPEED. Please update your Configuration."
|
||||
#elif !defined(TOOLCHANGE_FIL_SWAP_PRIME_SPEED)
|
||||
#error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FIL_SWAP_PRIME_SPEED. Please update your Configuration."
|
||||
#endif
|
||||
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
|
||||
#ifndef SINGLENOZZLE_TOOLCHANGE_XY
|
||||
#error "SINGLENOZZLE_SWAP_PARK requires SINGLENOZZLE_TOOLCHANGE_XY. Please update your Configuration."
|
||||
#elif !defined(SINGLENOZZLE_PARK_XY_FEEDRATE)
|
||||
#error "SINGLENOZZLE_SWAP_PARK requires SINGLENOZZLE_PARK_XY_FEEDRATE. Please update your Configuration."
|
||||
#endif
|
||||
#else
|
||||
#ifndef TOOLCHANGE_ZRAISE
|
||||
#error "SINGLENOZZLE requires TOOLCHANGE_ZRAISE. Please update your Configuration."
|
||||
#endif
|
||||
#endif
|
||||
#if ENABLED(TOOLCHANGE_PARK)
|
||||
#ifndef TOOLCHANGE_PARK_XY
|
||||
#error "TOOLCHANGE_PARK requires TOOLCHANGE_PARK_XY. Please update your Configuration."
|
||||
#elif !defined(TOOLCHANGE_PARK_XY_FEEDRATE)
|
||||
#error "TOOLCHANGE_PARK requires TOOLCHANGE_PARK_XY_FEEDRATE. Please update your Configuration."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef TOOLCHANGE_ZRAISE
|
||||
#error "TOOLCHANGE_ZRAISE required for EXTRUDERS > 1. Please update your Configuration."
|
||||
#endif
|
||||
|
||||
#elif ENABLED(MK2_MULTIPLEXER)
|
||||
#error "MK2_MULTIPLEXER requires 2 or more EXTRUDERS."
|
||||
|
Reference in New Issue
Block a user