Z BabyStepping should not be dependent on a bed leveling system being active
This commit is contained in:
parent
642dec3625
commit
949191215b
@ -1131,10 +1131,7 @@ void kill_screen(const char* lcd_msg) {
|
|||||||
|
|
||||||
const float new_zoffset = zprobe_zoffset + planner.steps_to_mm[Z_AXIS] * babystep_increment;
|
const float new_zoffset = zprobe_zoffset + planner.steps_to_mm[Z_AXIS] * babystep_increment;
|
||||||
if (WITHIN(new_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
|
if (WITHIN(new_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
|
||||||
|
thermalManager.babystep_axis(Z_AXIS, babystep_increment);
|
||||||
if (planner.leveling_active)
|
|
||||||
thermalManager.babystep_axis(Z_AXIS, babystep_increment);
|
|
||||||
|
|
||||||
zprobe_zoffset = new_zoffset;
|
zprobe_zoffset = new_zoffset;
|
||||||
lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT;
|
lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user