Browse Source

Merge branch 'Merge_cleanup' into Development

Chris Roadfeldt 10 years ago
parent
commit
9e603920c2
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/SanityCheck.h
  3. 1
    1
      Marlin/language.h

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2811,7 +2811,7 @@ inline void gcode_M42() {
2811 2811
       #error "You must have a Z_PROBE_PIN defined in order to enable calculation of Z-Probe repeatability."
2812 2812
     #endif
2813 2813
   #else
2814
-    #if (Z_MIN_PIN == -1) &&
2814
+    #if (Z_MIN_PIN == -1)
2815 2815
       #error "You must have a Z_MIN_PIN defined in order to enable calculation of Z-Probe repeatability."
2816 2816
     #endif
2817 2817
   #endif

+ 1
- 1
Marlin/SanityCheck.h View File

@@ -93,7 +93,7 @@
93 93
      * Require a Z Min pin
94 94
      */
95 95
     #if Z_MIN_PIN == -1
96
-      #if Z_PROBE_PIN == -1
96
+      #if Z_PROBE_PIN == -1 || (! defined (Z_PROBE_ENDSTOP) || defined (DISABLE_Z_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z Probe, but not enable it.
97 97
         #ifdef Z_PROBE_REPEATABILITY_TEST
98 98
           #error You must have a Z_MIN or Z_PROBE endstop to enable Z_PROBE_REPEATABILITY_TEST.
99 99
         #else

+ 1
- 1
Marlin/language.h View File

@@ -138,7 +138,7 @@
138 138
 #define MSG_Z_MIN                           "z_min: "
139 139
 #define MSG_Z_MAX                           "z_max: "
140 140
 #define MSG_Z2_MAX                          "z2_max: "
141
-#define MSG_Z_PROBE							"z_probe: "
141
+#define MSG_Z_PROBE                         "z_probe: "
142 142
 #define MSG_M119_REPORT                     "Reporting endstop status"
143 143
 #define MSG_ENDSTOP_HIT                     "TRIGGERED"
144 144
 #define MSG_ENDSTOP_OPEN                    "open"

Loading…
Cancel
Save