Don't use Z_MIN_PROBE_ENDSTOP on DELTA

This commit is contained in:
Scott Lahteine
2017-11-24 18:24:22 -06:00
parent e34c6827ea
commit d24b1190bd
3 changed files with 7 additions and 5 deletions

View File

@ -588,7 +588,9 @@ static_assert(1 >= 0
* Delta requirements
*/
#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!"
#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."