[2.0.x] Simplify bltouch configuration (#9488)

This commit is contained in:
GMagician 2018-02-05 21:38:09 +01:00 committed by Scott Lahteine
parent 338dac258b
commit f27c89980a

View file

@ -465,7 +465,7 @@
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#undef Z_MIN_ENDSTOP_INVERTING #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) #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN)
#else #else
#define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE) #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)