From f1958ac0601eb97649688d5de5a02aeaf67d9272 Mon Sep 17 00:00:00 2001 From: GMagician Date: Mon, 5 Feb 2018 19:52:41 +0100 Subject: [PATCH] [1.1.x] Simplify bltouch configuration When using bltouch Z_MIN_ENDSTOP_INVERTING must match Z_MIN_PROBE_ENDSTOP_INVERTING since both are redefined latter is just redefined equal to first --- Marlin/Conditionals_LCD.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Conditionals_LCD.h b/Marlin/Conditionals_LCD.h index 423552fedb..4b91450a54 100644 --- a/Marlin/Conditionals_LCD.h +++ b/Marlin/Conditionals_LCD.h @@ -446,7 +446,7 @@ #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #undef Z_MIN_ENDSTOP_INVERTING - #define Z_MIN_ENDSTOP_INVERTING false + #define Z_MIN_ENDSTOP_INVERTING Z_MIN_PROBE_ENDSTOP_INVERTING #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN) #else #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)