|
@@ -861,7 +861,7 @@ void kill_screen(const char* lcd_msg) {
|
861
|
861
|
const int babystep_increment = (int32_t)encoderPosition * (BABYSTEP_MULTIPLICATOR);
|
862
|
862
|
encoderPosition = 0;
|
863
|
863
|
|
864
|
|
- const float new_zoffset = zprobe_zoffset + steps_to_mm[Z_AXIS] * babystep_increment;
|
|
864
|
+ const float new_zoffset = zprobe_zoffset + planner.steps_to_mm[Z_AXIS] * babystep_increment;
|
865
|
865
|
if (WITHIN(new_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
|
866
|
866
|
|
867
|
867
|
if (planner.abl_enabled)
|