Probe margin. Bump config version (#18140)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
ellensp
2020-06-03 13:41:50 +12:00
committed by GitHub
parent a0b27e6702
commit ce62209bce
8 changed files with 70 additions and 50 deletions

View File

@@ -2251,31 +2251,31 @@
* Bed Probing bounds
*/
#ifndef MIN_PROBE_EDGE
#define MIN_PROBE_EDGE 0
#ifndef PROBING_MARGIN
#define PROBING_MARGIN 0
#endif
#if IS_KINEMATIC
#undef MIN_PROBE_EDGE_LEFT
#undef MIN_PROBE_EDGE_RIGHT
#undef MIN_PROBE_EDGE_FRONT
#undef MIN_PROBE_EDGE_BACK
#define MIN_PROBE_EDGE_LEFT 0
#define MIN_PROBE_EDGE_RIGHT 0
#define MIN_PROBE_EDGE_FRONT 0
#define MIN_PROBE_EDGE_BACK 0
#undef PROBING_MARGIN_LEFT
#undef PROBING_MARGIN_RIGHT
#undef PROBING_MARGIN_FRONT
#undef PROBING_MARGIN_BACK
#define PROBING_MARGIN_LEFT 0
#define PROBING_MARGIN_RIGHT 0
#define PROBING_MARGIN_FRONT 0
#define PROBING_MARGIN_BACK 0
#else
#ifndef MIN_PROBE_EDGE_LEFT
#define MIN_PROBE_EDGE_LEFT MIN_PROBE_EDGE
#ifndef PROBING_MARGIN_LEFT
#define PROBING_MARGIN_LEFT PROBING_MARGIN
#endif
#ifndef MIN_PROBE_EDGE_RIGHT
#define MIN_PROBE_EDGE_RIGHT MIN_PROBE_EDGE
#ifndef PROBING_MARGIN_RIGHT
#define PROBING_MARGIN_RIGHT PROBING_MARGIN
#endif
#ifndef MIN_PROBE_EDGE_FRONT
#define MIN_PROBE_EDGE_FRONT MIN_PROBE_EDGE
#ifndef PROBING_MARGIN_FRONT
#define PROBING_MARGIN_FRONT PROBING_MARGIN
#endif
#ifndef MIN_PROBE_EDGE_BACK
#define MIN_PROBE_EDGE_BACK MIN_PROBE_EDGE
#ifndef PROBING_MARGIN_BACK
#define PROBING_MARGIN_BACK PROBING_MARGIN
#endif
#endif