🔧 Restore probe XY edit defaults, remove arbitrary Z limit (#26774)
This commit is contained in:
parent
3dd22349a9
commit
005d6879d9
|
@ -2961,16 +2961,16 @@
|
||||||
#endif
|
#endif
|
||||||
#if HAS_BED_PROBE
|
#if HAS_BED_PROBE
|
||||||
#ifndef PROBE_OFFSET_XMIN
|
#ifndef PROBE_OFFSET_XMIN
|
||||||
#define PROBE_OFFSET_XMIN -50
|
#define PROBE_OFFSET_XMIN -(X_BED_SIZE)
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROBE_OFFSET_XMAX
|
#ifndef PROBE_OFFSET_XMAX
|
||||||
#define PROBE_OFFSET_XMAX 50
|
#define PROBE_OFFSET_XMAX X_BED_SIZE
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROBE_OFFSET_YMIN
|
#ifndef PROBE_OFFSET_YMIN
|
||||||
#define PROBE_OFFSET_YMIN -50
|
#define PROBE_OFFSET_YMIN -(Y_BED_SIZE)
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROBE_OFFSET_YMAX
|
#ifndef PROBE_OFFSET_YMAX
|
||||||
#define PROBE_OFFSET_YMAX 50
|
#define PROBE_OFFSET_YMAX Y_BED_SIZE
|
||||||
#endif
|
#endif
|
||||||
#if ALL(ENDSTOPPULLUPS, USE_Z_MIN_PROBE)
|
#if ALL(ENDSTOPPULLUPS, USE_Z_MIN_PROBE)
|
||||||
#define ENDSTOPPULLUP_ZMIN_PROBE
|
#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
|
|
|
@ -1463,8 +1463,8 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i
|
||||||
PROBE_OFFSET_ASSERT("PROBE_OFFSET_YMIN", PROBE_OFFSET_YMIN, -(Y_BED_SIZE), Y_BED_SIZE);
|
PROBE_OFFSET_ASSERT("PROBE_OFFSET_YMIN", PROBE_OFFSET_YMIN, -(Y_BED_SIZE), Y_BED_SIZE);
|
||||||
PROBE_OFFSET_ASSERT("PROBE_OFFSET_YMAX", PROBE_OFFSET_YMAX, -(Y_BED_SIZE), Y_BED_SIZE);
|
PROBE_OFFSET_ASSERT("PROBE_OFFSET_YMAX", PROBE_OFFSET_YMAX, -(Y_BED_SIZE), Y_BED_SIZE);
|
||||||
#endif
|
#endif
|
||||||
PROBE_OFFSET_ASSERT("PROBE_OFFSET_ZMIN", PROBE_OFFSET_ZMIN, -20, 20);
|
PROBE_OFFSET_ASSERT("PROBE_OFFSET_ZMIN", PROBE_OFFSET_ZMIN, -(Z_MAX_POS), Z_MAX_POS);
|
||||||
PROBE_OFFSET_ASSERT("PROBE_OFFSET_ZMAX", PROBE_OFFSET_ZMAX, -20, 20);
|
PROBE_OFFSET_ASSERT("PROBE_OFFSET_ZMAX", PROBE_OFFSET_ZMAX, -(Z_MAX_POS), Z_MAX_POS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check for improper NOZZLE_AS_PROBE or NOZZLE_TO_PROBE_OFFSET
|
* Check for improper NOZZLE_AS_PROBE or NOZZLE_TO_PROBE_OFFSET
|
||||||
|
|
Loading…
Reference in a new issue