Merge pull request #6991 from Bob-the-Kuhn/Mesh-with-babystepping

Mesh with BABYSTEP_ZPROBE_OFFSET: add sanity check
This commit is contained in:
Bob-the-Kuhn 2017-06-20 16:36:22 -05:00 committed by GitHub
commit 41bfff14e2

View File

@ -293,6 +293,8 @@
#error "BABYSTEPPING is not implemented for SCARA yet."
#elif ENABLED(DELTA) && ENABLED(BABYSTEP_XY)
#error "BABYSTEPPING only implemented for Z axis on deltabots."
#elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && ENABLED(MESH_BED_LEVELING)
#error "MESH_BED_LEVELING and BABYSTEP_ZPROBE_OFFSET is not a valid combination"
#elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && !HAS_BED_PROBE
#error "BABYSTEP_ZPROBE_OFFSET requires a probe."
#endif