✏️ Fix probe invert flag (#25282)
This commit is contained in:
committed by
Scott Lahteine
parent
0d831183ba
commit
9e755a25c7
@@ -1782,7 +1782,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||||||
#error "BLTOUCH requires DEACTIVATE_SERVOS_AFTER_MOVE to be to disabled. Please update your Configuration.h file."
|
#error "BLTOUCH requires DEACTIVATE_SERVOS_AFTER_MOVE to be to disabled. Please update your Configuration.h file."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_INVERTED_PROBE
|
#if ENABLED(INVERTED_PROBE_STATE)
|
||||||
#if !Z_MIN_PROBE_ENDSTOP_INVERTING
|
#if !Z_MIN_PROBE_ENDSTOP_INVERTING
|
||||||
#error "BLTOUCH requires Z_MIN_PROBE_ENDSTOP_INVERTING set to true."
|
#error "BLTOUCH requires Z_MIN_PROBE_ENDSTOP_INVERTING set to true."
|
||||||
#endif
|
#endif
|
||||||
@@ -1790,7 +1790,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||||||
#error "BLTOUCH requires Z_MIN_PROBE_ENDSTOP_INVERTING set to false."
|
#error "BLTOUCH requires Z_MIN_PROBE_ENDSTOP_INVERTING set to false."
|
||||||
#endif
|
#endif
|
||||||
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
||||||
#if HAS_INVERTED_PROBE
|
#if ENABLED(INVERTED_PROBE_STATE)
|
||||||
#if !Z_MIN_ENDSTOP_INVERTING
|
#if !Z_MIN_ENDSTOP_INVERTING
|
||||||
#error "BLTOUCH requires Z_MIN_ENDSTOP_INVERTING set to true."
|
#error "BLTOUCH requires Z_MIN_ENDSTOP_INVERTING set to true."
|
||||||
#endif
|
#endif
|
||||||
@@ -1822,7 +1822,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||||||
#elif !HAS_RESUME_CONTINUE
|
#elif !HAS_RESUME_CONTINUE
|
||||||
#error "TOUCH_MI_PROBE currently requires an LCD controller or EMERGENCY_PARSER."
|
#error "TOUCH_MI_PROBE currently requires an LCD controller or EMERGENCY_PARSER."
|
||||||
#endif
|
#endif
|
||||||
#if HAS_INVERTED_PROBE
|
#if ENABLED(INVERTED_PROBE_STATE)
|
||||||
#if !Z_MIN_PROBE_ENDSTOP_INVERTING
|
#if !Z_MIN_PROBE_ENDSTOP_INVERTING
|
||||||
#error "TOUCH_MI_PROBE requires Z_MIN_PROBE_ENDSTOP_INVERTING set to true."
|
#error "TOUCH_MI_PROBE requires Z_MIN_PROBE_ENDSTOP_INVERTING set to true."
|
||||||
#endif
|
#endif
|
||||||
@@ -1830,7 +1830,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||||||
#error "TOUCH_MI_PROBE requires Z_MIN_PROBE_ENDSTOP_INVERTING set to false."
|
#error "TOUCH_MI_PROBE requires Z_MIN_PROBE_ENDSTOP_INVERTING set to false."
|
||||||
#endif
|
#endif
|
||||||
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
||||||
#if HAS_INVERTED_PROBE
|
#if ENABLED(INVERTED_PROBE_STATE)
|
||||||
#if !Z_MIN_ENDSTOP_INVERTING
|
#if !Z_MIN_ENDSTOP_INVERTING
|
||||||
#error "TOUCH_MI_PROBE requires Z_MIN_ENDSTOP_INVERTING set to true."
|
#error "TOUCH_MI_PROBE requires Z_MIN_ENDSTOP_INVERTING set to true."
|
||||||
#endif
|
#endif
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
#define Y_STOP_PIN 14
|
#define Y_STOP_PIN 14
|
||||||
|
|
||||||
#if EITHER(BLTOUCH, TOUCH_MI_PROBE)
|
#if EITHER(BLTOUCH, TOUCH_MI_PROBE)
|
||||||
#define HAS_INVERTED_PROBE
|
#define INVERTED_PROBE_STATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "pins_3DRAG.h" // ... RAMPS
|
#include "pins_3DRAG.h" // ... RAMPS
|
||||||
|
Reference in New Issue
Block a user