🔧 Sanity-checks for PULLDOWN, SINGLENOZZLE

This commit is contained in:
Scott Lahteine 2022-03-22 18:53:42 -05:00 committed by Scott Lahteine
parent 7186037f20
commit 72f207f489

View File

@ -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