Skip to content
Snippets Groups Projects
Commit ec93383e authored by Scott Lahteine's avatar Scott Lahteine Committed by Richard Wackerbarth
Browse files

Add SanityCheck for bed probe position settings (PR#2282)

parent c2cef42f
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,12 @@
*/
#ifdef AUTO_BED_LEVELING_GRID
#ifndef DELTA_PROBABLE_RADIUS
// Be sure points are in the right order
#if LEFT_PROBE_BED_POSITION > RIGHT_PROBE_BED_POSITION
#error LEFT_PROBE_BED_POSITION must be less than RIGHT_PROBE_BED_POSITION.
#elif FRONT_PROBE_BED_POSITION > BACK_PROBE_BED_POSITION
#error BACK_PROBE_BED_POSITION must be less than FRONT_PROBE_BED_POSITION.
#endif
// Make sure probing points are reachable
#if LEFT_PROBE_BED_POSITION < MIN_PROBE_X
#error "The given LEFT_PROBE_BED_POSITION can't be reached by the probe."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment