|
@@ -357,15 +357,15 @@
|
357
|
357
|
#define BLTOUCH_RESET 160
|
358
|
358
|
#define _TEST_BLTOUCH(P) (READ(P##_PIN) != P##_ENDSTOP_INVERTING)
|
359
|
359
|
|
|
360
|
+ // Always disable probe pin inverting for BLTouch
|
|
361
|
+ #undef Z_MIN_PROBE_ENDSTOP_INVERTING
|
|
362
|
+ #define Z_MIN_PROBE_ENDSTOP_INVERTING false
|
|
363
|
+
|
360
|
364
|
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
|
361
|
365
|
#undef Z_MIN_ENDSTOP_INVERTING
|
362
|
366
|
#define Z_MIN_ENDSTOP_INVERTING false
|
363
|
|
- #undef Z_MIN_PROBE_ENDSTOP_INVERTING
|
364
|
|
- #define Z_MIN_PROBE_ENDSTOP_INVERTING false
|
365
|
367
|
#define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN)
|
366
|
368
|
#else
|
367
|
|
- #undef Z_MIN_PROBE_ENDSTOP_INVERTING
|
368
|
|
- #define Z_MIN_PROBE_ENDSTOP_INVERTING false
|
369
|
369
|
#define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)
|
370
|
370
|
#endif
|
371
|
371
|
#endif
|