Browse Source

🔧 Sanity-checks for PULLDOWN, SINGLENOZZLE

FB4S_WIFI
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
72f207f489
  1. 14
      Marlin/src/inc/SanityCheck.h

14
Marlin/src/inc/SanityCheck.h

@ -783,10 +783,13 @@ 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…
Cancel
Save