Simplify / undef extra endstops (#21808)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -1983,15 +1983,6 @@
|
||||
#if _HAS_STOP(Z,MAX)
|
||||
#define HAS_Z_MAX 1
|
||||
#endif
|
||||
#if _HAS_STOP(X,STOP)
|
||||
#define HAS_X_STOP 1
|
||||
#endif
|
||||
#if _HAS_STOP(Y,STOP)
|
||||
#define HAS_Y_STOP 1
|
||||
#endif
|
||||
#if _HAS_STOP(Z,STOP)
|
||||
#define HAS_Z_STOP 1
|
||||
#endif
|
||||
#if PIN_EXISTS(X2_MIN)
|
||||
#define HAS_X2_MIN 1
|
||||
#endif
|
||||
@@ -2022,10 +2013,17 @@
|
||||
#if PIN_EXISTS(Z4_MAX)
|
||||
#define HAS_Z4_MAX 1
|
||||
#endif
|
||||
#if HAS_CUSTOM_PROBE_PIN && PIN_EXISTS(Z_MIN_PROBE)
|
||||
#if BOTH(HAS_BED_PROBE, HAS_CUSTOM_PROBE_PIN) && PIN_EXISTS(Z_MIN_PROBE)
|
||||
#define HAS_Z_MIN_PROBE_PIN 1
|
||||
#endif
|
||||
|
||||
#undef IS_PROBE_PIN
|
||||
#undef IS_X2_ENDSTOP
|
||||
#undef IS_Y2_ENDSTOP
|
||||
#undef IS_Z2_ENDSTOP
|
||||
#undef IS_Z3_ENDSTOP
|
||||
#undef IS_Z4_ENDSTOP
|
||||
|
||||
//
|
||||
// ADC Temp Sensors (Thermistor or Thermocouple with amplifier ADC interface)
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user