Browse Source

Don't use Z_MIN_PROBE_ENDSTOP on DELTA

pull/1/head
Scott Lahteine 7 years ago
parent
commit
d24b1190bd
  1. 4
      Marlin/src/config/examples/delta/generic/Configuration.h
  2. 4
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  3. 4
      Marlin/src/inc/SanityCheck.h

4
Marlin/src/config/examples/delta/generic/Configuration.h

@ -655,7 +655,7 @@
* *
* Enable this option for a probe connected to the Z Min endstop pin. * Enable this option for a probe connected to the Z Min endstop pin.
*/ */
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
/** /**
* Z_MIN_PROBE_ENDSTOP * Z_MIN_PROBE_ENDSTOP
@ -676,7 +676,7 @@
* disastrous consequences. Use with caution and do your homework. * disastrous consequences. Use with caution and do your homework.
* *
*/ */
#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
/** /**
* Probe Type * Probe Type

4
Marlin/src/config/examples/delta/kossel_xl/Configuration.h

@ -667,7 +667,7 @@
* *
* Enable this option for a probe connected to the Z Min endstop pin. * Enable this option for a probe connected to the Z Min endstop pin.
*/ */
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
/** /**
* Z_MIN_PROBE_ENDSTOP * Z_MIN_PROBE_ENDSTOP
@ -688,7 +688,7 @@
* disastrous consequences. Use with caution and do your homework. * disastrous consequences. Use with caution and do your homework.
* *
*/ */
#define Z_MIN_PROBE_ENDSTOP //#define Z_MIN_PROBE_ENDSTOP
/** /**
* Probe Type * Probe Type

4
Marlin/src/inc/SanityCheck.h

@ -588,7 +588,9 @@ static_assert(1 >= 0
* Delta requirements * Delta requirements
*/ */
#if ENABLED(DELTA) #if ENABLED(DELTA)
#if DISABLED(USE_XMAX_PLUG) && DISABLED(USE_YMAX_PLUG) && DISABLED(USE_ZMAX_PLUG) #if HAS_BED_PROBE && ENABLED(Z_MIN_PROBE_ENDSTOP)
#error "Delta probably shouldn't use Z_MIN_PROBE_ENDSTOP. Comment out this line to continue."
#elif DISABLED(USE_XMAX_PLUG) && DISABLED(USE_YMAX_PLUG) && DISABLED(USE_ZMAX_PLUG)
#error "You probably want to use Max Endstops for DELTA!" #error "You probably want to use Max Endstops for DELTA!"
#elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_DELTA #elif ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(AUTO_BED_LEVELING_BILINEAR) && !UBL_DELTA
#error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL." #error "ENABLE_LEVELING_FADE_HEIGHT on DELTA requires AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL."

Loading…
Cancel
Save