|
@@ -105,7 +105,7 @@ void GcodeSuite::G29() {
|
105
|
105
|
enable_soft_endstops = soft_endstops_enabled;
|
106
|
106
|
#endif
|
107
|
107
|
// Move close to the bed before the first point
|
108
|
|
- do_blocking_move_to_z(Z_MIN_POS);
|
|
108
|
+ do_blocking_move_to_z(0);
|
109
|
109
|
}
|
110
|
110
|
else {
|
111
|
111
|
// For G29 S2 after adjusting Z.
|
|
@@ -127,7 +127,7 @@ void GcodeSuite::G29() {
|
127
|
127
|
}
|
128
|
128
|
else {
|
129
|
129
|
// One last "return to the bed" (as originally coded) at completion
|
130
|
|
- current_position[Z_AXIS] = Z_MIN_POS + MANUAL_PROBE_HEIGHT;
|
|
130
|
+ current_position[Z_AXIS] = MANUAL_PROBE_HEIGHT;
|
131
|
131
|
line_to_current_position();
|
132
|
132
|
stepper.synchronize();
|
133
|
133
|
|
|
@@ -141,7 +141,7 @@ void GcodeSuite::G29() {
|
141
|
141
|
set_bed_leveling_enabled(true);
|
142
|
142
|
|
143
|
143
|
#if ENABLED(MESH_G28_REST_ORIGIN)
|
144
|
|
- current_position[Z_AXIS] = Z_MIN_POS;
|
|
144
|
+ current_position[Z_AXIS] = 0;
|
145
|
145
|
set_destination_from_current();
|
146
|
146
|
buffer_line_to_destination(homing_feedrate(Z_AXIS));
|
147
|
147
|
stepper.synchronize();
|