Browse Source

warn user of an invalid combination

Bob-the-Kuhn 7 years ago
parent
commit
8fb30aaed6
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/SanityCheck.h

+ 2
- 0
Marlin/SanityCheck.h View File

293
     #error "BABYSTEPPING is not implemented for SCARA yet."
293
     #error "BABYSTEPPING is not implemented for SCARA yet."
294
   #elif ENABLED(DELTA) && ENABLED(BABYSTEP_XY)
294
   #elif ENABLED(DELTA) && ENABLED(BABYSTEP_XY)
295
     #error "BABYSTEPPING only implemented for Z axis on deltabots."
295
     #error "BABYSTEPPING only implemented for Z axis on deltabots."
296
+  #elif ENABLED(BABYSTEP_ZPROBE_OFFSET) &&  ENABLED(MESH_BED_LEVELING)
297
+    #error "MESH_BED_LEVELING and BABYSTEP_ZPROBE_OFFSET is not a valid combination"
296
   #elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && !HAS_BED_PROBE
298
   #elif ENABLED(BABYSTEP_ZPROBE_OFFSET) && !HAS_BED_PROBE
297
     #error "BABYSTEP_ZPROBE_OFFSET requires a probe."
299
     #error "BABYSTEP_ZPROBE_OFFSET requires a probe."
298
   #endif
300
   #endif

Loading…
Cancel
Save