Skip to content
Snippets Groups Projects
Commit 916f59e3 authored by Chris Roadfeldt's avatar Chris Roadfeldt
Browse files

Spaces not tabs in language.h.

Catch unlikely but possible error and head crash when using
Z_PROBE_REPEATABILITY_TEST
parent 26dc80bf
Branches
Tags
No related merge requests found
......@@ -93,7 +93,7 @@
* Require a Z Min pin
*/
#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
#error You must have a Z_MIN or Z_PROBE endstop to enable Z_PROBE_REPEATABILITY_TEST.
#else
......
......@@ -138,7 +138,7 @@
#define MSG_Z_MIN "z_min: "
#define MSG_Z_MAX "z_max: "
#define MSG_Z2_MAX "z2_max: "
#define MSG_Z_PROBE "z_probe: "
#define MSG_Z_PROBE "z_probe: "
#define MSG_M119_REPORT "Reporting endstop status"
#define MSG_ENDSTOP_HIT "TRIGGERED"
#define MSG_ENDSTOP_OPEN "open"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment