Spaces not tabs in language.h.

Catch unlikely but possible error and head crash when using
Z_PROBE_REPEATABILITY_TEST
This commit is contained in:
Chris Roadfeldt 2015-04-01 19:22:05 -05:00
parent 26dc80bf2d
commit 916f59e35f
2 changed files with 2 additions and 2 deletions

View File

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