Browse Source

Fix Z_PROBE_PING not declared, allows code to compile if Z_PROBE_ENDSTOP

is not used.
Chris Roadfeldt 9 years ago
parent
commit
2966ae2022
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/pins.h

+ 1
- 1
Marlin/pins.h View File

@@ -187,7 +187,7 @@
187 187
   #define Z_MIN_PIN          -1
188 188
 #endif
189 189
 
190
-#ifdef DISABLE_Z_PROBE_ENDSTOP
190
+#if defined (DISABLE_Z_PROBE_ENDSTOP) || ! defined (Z_PROBE_ENDSTOP) // Allow code to compile regardless of Z_PROBE_ENDSTOP setting.
191 191
   #define Z_PROBE_PIN        -1
192 192
 #endif
193 193
 

Loading…
Cancel
Save