Browse Source

Merge branch 'Merge_cleanup' into Development

pull/1/head
Chris Roadfeldt 10 years ago
parent
commit
9e603920c2
  1. 2
      Marlin/Marlin_main.cpp
  2. 2
      Marlin/SanityCheck.h
  3. 2
      Marlin/language.h

2
Marlin/Marlin_main.cpp

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

2
Marlin/SanityCheck.h

@ -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 pin 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

2
Marlin/language.h

@ -138,7 +138,7 @@
#define MSG_Z_MIN "z_min: " #define MSG_Z_MIN "z_min: "
#define MSG_Z_MAX "z_max: " #define MSG_Z_MAX "z_max: "
#define MSG_Z2_MAX "z2_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_M119_REPORT "Reporting endstop status"
#define MSG_ENDSTOP_HIT "TRIGGERED" #define MSG_ENDSTOP_HIT "TRIGGERED"
#define MSG_ENDSTOP_OPEN "open" #define MSG_ENDSTOP_OPEN "open"

Loading…
Cancel
Save