Skip to content
Snippets Groups Projects
Commit efb9ce24 authored by bgort's avatar bgort Committed by GitHub
Browse files

Merge pull request #6645 from tcm0116/bltouch_config

Automatically define Z_MIN_PROBE_ENDSTOP_INVERTING for BLTouch
parents e2f07917 a20d0794
Branches
Tags
No related merge requests found
......@@ -360,8 +360,12 @@
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#undef Z_MIN_ENDSTOP_INVERTING
#define Z_MIN_ENDSTOP_INVERTING false
#undef Z_MIN_PROBE_ENDSTOP_INVERTING
#define Z_MIN_PROBE_ENDSTOP_INVERTING false
#define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN)
#else
#undef Z_MIN_PROBE_ENDSTOP_INVERTING
#define Z_MIN_PROBE_ENDSTOP_INVERTING false
#define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)
#endif
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment