Unconditional do_probe_raise() in probe_pt()
If Z_RAISE_BETWEEN_PROBINGS is null or undefined the probe is currently not raised by home_offset[Z_AXIS] and zprobe_zoffset. But when different from 0 is. If an undefined Z_RAISE_BETWEEN_PROBINGS expands to 0 (and it does) this is the solution. A similar asymmetry exists with the newly introduced 'short-cut' in G28 - but its the rise before anything is probed - so should not make a difference.
This commit is contained in:
parent
7ef7843fd4
commit
cb1b31f69b
@ -2118,14 +2118,12 @@ static void clean_up_after_endstop_or_probe_move() {
|
|||||||
#endif
|
#endif
|
||||||
stow_z_probe();
|
stow_z_probe();
|
||||||
}
|
}
|
||||||
#if Z_RAISE_BETWEEN_PROBINGS > 0
|
else {
|
||||||
else {
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> do_probe_raise");
|
||||||
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> do_probe_raise");
|
#endif
|
||||||
#endif
|
do_probe_raise(Z_RAISE_BETWEEN_PROBINGS);
|
||||||
do_probe_raise(Z_RAISE_BETWEEN_PROBINGS);
|
}
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (verbose_level > 2) {
|
if (verbose_level > 2) {
|
||||||
SERIAL_PROTOCOLPGM("Bed X: ");
|
SERIAL_PROTOCOLPGM("Bed X: ");
|
||||||
|
Loading…
Reference in New Issue
Block a user