|
@@ -668,15 +668,11 @@
|
668
|
668
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
669
|
669
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
670
|
670
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
671
|
|
-#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
|
671
|
+#define Z_MIN_ENDSTOP_INVERTING (ANYCUBIC_PROBE_VERSION + 0 == 2) // V1 is NC, V2 is NO
|
672
|
672
|
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
673
|
673
|
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
674
|
674
|
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
675
|
|
-#if ANYCUBIC_PROBE_VERSION == 1
|
676
|
|
- #define Z_MIN_PROBE_ENDSTOP_INVERTING false // V1 Probe is NC
|
677
|
|
-#elif ANYCUBIC_PROBE_VERSION == 2
|
678
|
|
- #define Z_MIN_PROBE_ENDSTOP_INVERTING true // V2 Probe is NO
|
679
|
|
-#endif
|
|
675
|
+#define Z_MIN_PROBE_ENDSTOP_INVERTING Z_MIN_ENDSTOP_INVERTING
|
680
|
676
|
|
681
|
677
|
/**
|
682
|
678
|
* Stepper Drivers
|