Make Z Probe options independent of ABL

This commit is contained in:
Scott Lahteine
2016-06-14 18:03:17 -07:00
parent 43ec24158e
commit de12228758
23 changed files with 1459 additions and 1238 deletions

View File

@ -420,10 +420,14 @@
#endif
/**
* Allen Key Z probe requires Auto Bed Leveling grid and Delta
* Allen Key Z probe requires Delta and Auto Bed Leveling grid
*/
#if ENABLED(Z_PROBE_ALLEN_KEY) && !(ENABLED(AUTO_BED_LEVELING_GRID) && ENABLED(DELTA))
#error "Invalid use of Z_PROBE_ALLEN_KEY."
#if ENABLED(Z_PROBE_ALLEN_KEY)
#if !ENABLED(DELTA)
#error "Z_PROBE_ALLEN_KEY is only usable with DELTA."
#elif ENABLED(MESH_BED_LEVELING) || (ENABLED(AUTO_BED_LEVELING_FEATURE) && !ENABLED(AUTO_BED_LEVELING_GRID))
#error "Z_PROBE_ALLEN_KEY can only use AUTO_BED_LEVELING_GRID leveling."
#endif
#endif
/**