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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
4 deletions
-
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; |
|
|
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; |
|
|
} |
|
|
} |
|
|