🔧 Sanity-checks for PULLDOWN, SINGLENOZZLE
This commit is contained in:
parent
c47c52c146
commit
58fcaebe76
|
@ -783,11 +783,14 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||
#endif
|
||||
|
||||
#if !defined(TARGET_LPC1768) && ANY( \
|
||||
ENDSTOPPULLDOWNS, \
|
||||
ENDSTOPPULLDOWN_XMAX, ENDSTOPPULLDOWN_YMAX, \
|
||||
ENDSTOPPULLDOWN_ZMAX, ENDSTOPPULLDOWN_XMIN, \
|
||||
ENDSTOPPULLDOWN_YMIN, ENDSTOPPULLDOWN_ZMIN \
|
||||
)
|
||||
ENDSTOPPULLDOWNS, ENDSTOPPULLDOWN_ZMIN_PROBE, \
|
||||
ENDSTOPPULLDOWN_XMAX, ENDSTOPPULLDOWN_YMAX, ENDSTOPPULLDOWN_ZMAX, \
|
||||
ENDSTOPPULLDOWN_XMIN, ENDSTOPPULLDOWN_YMIN, ENDSTOPPULLDOWN_ZMIN, \
|
||||
FIL_RUNOUT_PULLDOWN, \
|
||||
FIL_RUNOUT1_PULLDOWN, FIL_RUNOUT2_PULLDOWN, FIL_RUNOUT3_PULLDOWN, FIL_RUNOUT4_PULLDOWN, \
|
||||
FIL_RUNOUT5_PULLDOWN, FIL_RUNOUT6_PULLDOWN, FIL_RUNOUT7_PULLDOWN, FIL_RUNOUT8_PULLDOWN, \
|
||||
POWER_LOSS_PULLDOWN, CALIBRATION_PIN_PULLDOWN \
|
||||
)
|
||||
#error "PULLDOWN pin mode is not available on the selected board."
|
||||
#endif
|
||||
|
||||
|
@ -1146,6 +1149,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||
#elif ENABLED(SINGLENOZZLE)
|
||||
|
||||
#error "SINGLENOZZLE requires 2 or more EXTRUDERS."
|
||||
#if ENABLED(PID_PARAMS_PER_HOTEND)
|
||||
#error "PID_PARAMS_PER_HOTEND must be disabled when using any SINGLENOZZLE extruder."
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue