diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index 7ad8fb3ac..b868f649f 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -135,7 +135,7 @@ #if !PIN_EXISTS(Z_MIN) #if !PIN_EXISTS(Z_MIN_PROBE) || (DISABLED(Z_MIN_PROBE_ENDSTOP) || ENABLED(DISABLE_Z_MIN_PROBE_ENDSTOP)) // It's possible for someone to set a pin for the Z probe, but not enable it. #if ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST) - #error You must have a Z min or Z probe endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST. + #error You must have a Z_MIN or Z_PROBE endstop to enable Z_MIN_PROBE_REPEATABILITY_TEST. #else #error AUTO_BED_LEVELING_FEATURE requires a Z_MIN or Z_PROBE endstop. Z_MIN_PIN or Z_MIN_PROBE_PIN must point to a valid hardware pin. #endif @@ -146,11 +146,8 @@ * Require a Z probe pin if Z_MIN_PROBE_ENDSTOP is enabled. */ #if ENABLED(Z_MIN_PROBE_ENDSTOP) - #ifndef Z_MIN_PROBE_PIN - #error You must have a Z_MIN_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_MIN_PROBE_ENDSTOP. - #endif #if !PIN_EXISTS(Z_MIN_PROBE) - #error You must set Z_MIN_PROBE_PIN to a valid pin if you enable Z_MIN_PROBE_ENDSTOP. + #error You must have a Z_MIN_PROBE_PIN defined in your pins_XXXX.h file if you enable Z_MIN_PROBE_ENDSTOP. #endif // Forcing Servo definitions can break some hall effect sensor setups. Leaving these here for further comment. // #ifndef NUM_SERVOS diff --git a/Marlin/pins_RAMPS_13.h b/Marlin/pins_RAMPS_13.h index 7f651f365..69e4c685d 100644 --- a/Marlin/pins_RAMPS_13.h +++ b/Marlin/pins_RAMPS_13.h @@ -40,7 +40,6 @@ #define Z_ENABLE_PIN 62 #define Z_MIN_PIN 18 #define Z_MAX_PIN 19 -#define Z_MIN_PROBE_PIN -1 #define E0_STEP_PIN 26 #define E0_DIR_PIN 28 diff --git a/Marlin/pins_RUMBA.h b/Marlin/pins_RUMBA.h index bc314c9c7..440b863cd 100644 --- a/Marlin/pins_RUMBA.h +++ b/Marlin/pins_RUMBA.h @@ -27,7 +27,6 @@ #define Z_ENABLE_PIN 62 #define Z_MIN_PIN 33 #define Z_MAX_PIN 32 -#define Z_MIN_PROBE_PIN -1 #if ENABLED(Z_MIN_PROBE_ENDSTOP) // Define a pin to use as the signal pin on Arduino for the Z probe endstop.