Browse Source

Z BabyStepping should not be dependent on a bed leveling system being active

pull/1/head
Roxy-3D 7 years ago
committed by GitHub
parent
commit
39e5fabfa9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Marlin/src/lcd/ultralcd.cpp

5
Marlin/src/lcd/ultralcd.cpp

@ -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;
if (WITHIN(new_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
if (planner.leveling_active)
thermalManager.babystep_axis(Z_AXIS, babystep_increment);
thermalManager.babystep_axis(Z_AXIS, babystep_increment);
zprobe_zoffset = new_zoffset;
lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT;
}

Loading…
Cancel
Save