Browse Source

Merge pull request #6645 from tcm0116/bltouch_config

Automatically define Z_MIN_PROBE_ENDSTOP_INVERTING for BLTouch
bgort 7 years ago
parent
commit
efb9ce24d9
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/Conditionals_LCD.h

+ 4
- 0
Marlin/Conditionals_LCD.h View File

@@ -360,8 +360,12 @@
360 360
     #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
361 361
       #undef Z_MIN_ENDSTOP_INVERTING
362 362
       #define Z_MIN_ENDSTOP_INVERTING false
363
+      #undef Z_MIN_PROBE_ENDSTOP_INVERTING
364
+      #define Z_MIN_PROBE_ENDSTOP_INVERTING false
363 365
       #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN)
364 366
     #else
367
+      #undef Z_MIN_PROBE_ENDSTOP_INVERTING
368
+      #define Z_MIN_PROBE_ENDSTOP_INVERTING false
365 369
       #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)
366 370
     #endif
367 371
   #endif

Loading…
Cancel
Save