Skip to content

Commit 58fcaeb

Browse files
committed
🔧 Sanity-checks for PULLDOWN, SINGLENOZZLE
1 parent c47c52c commit 58fcaeb

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Marlin/src/inc/SanityCheck.h

+11-5
Original file line numberDiff line numberDiff line change
@@ -783,11 +783,14 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
783783
#endif
784784

785785
#if !defined(TARGET_LPC1768) && ANY( \
786-
ENDSTOPPULLDOWNS, \
787-
ENDSTOPPULLDOWN_XMAX, ENDSTOPPULLDOWN_YMAX, \
788-
ENDSTOPPULLDOWN_ZMAX, ENDSTOPPULLDOWN_XMIN, \
789-
ENDSTOPPULLDOWN_YMIN, ENDSTOPPULLDOWN_ZMIN \
790-
)
786+
ENDSTOPPULLDOWNS, ENDSTOPPULLDOWN_ZMIN_PROBE, \
787+
ENDSTOPPULLDOWN_XMAX, ENDSTOPPULLDOWN_YMAX, ENDSTOPPULLDOWN_ZMAX, \
788+
ENDSTOPPULLDOWN_XMIN, ENDSTOPPULLDOWN_YMIN, ENDSTOPPULLDOWN_ZMIN, \
789+
FIL_RUNOUT_PULLDOWN, \
790+
FIL_RUNOUT1_PULLDOWN, FIL_RUNOUT2_PULLDOWN, FIL_RUNOUT3_PULLDOWN, FIL_RUNOUT4_PULLDOWN, \
791+
FIL_RUNOUT5_PULLDOWN, FIL_RUNOUT6_PULLDOWN, FIL_RUNOUT7_PULLDOWN, FIL_RUNOUT8_PULLDOWN, \
792+
POWER_LOSS_PULLDOWN, CALIBRATION_PIN_PULLDOWN \
793+
)
791794
#error "PULLDOWN pin mode is not available on the selected board."
792795
#endif
793796

@@ -1146,6 +1149,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
11461149
#elif ENABLED(SINGLENOZZLE)
11471150

11481151
#error "SINGLENOZZLE requires 2 or more EXTRUDERS."
1152+
#if ENABLED(PID_PARAMS_PER_HOTEND)
1153+
#error "PID_PARAMS_PER_HOTEND must be disabled when using any SINGLENOZZLE extruder."
1154+
#endif
11491155

11501156
#endif
11511157

0 commit comments

Comments
 (0)