|
@@ -5055,6 +5055,8 @@ void home_all_axes() { gcode_G28(true); }
|
5055
|
5055
|
|
5056
|
5056
|
bool zig = PR_OUTER_END & 1; // Always end at RIGHT and BACK_PROBE_BED_POSITION
|
5057
|
5057
|
|
|
5058
|
+ measured_z = 0;
|
|
5059
|
+
|
5058
|
5060
|
// Outer loop is Y with PROBE_Y_FIRST disabled
|
5059
|
5061
|
for (uint8_t PR_OUTER_VAR = 0; PR_OUTER_VAR < PR_OUTER_END && !isnan(measured_z); PR_OUTER_VAR++) {
|
5060
|
5062
|
|
|
@@ -8705,8 +8707,8 @@ inline void gcode_M117() { lcd_setstatus(parser.string_arg); }
|
8705
|
8707
|
/**
|
8706
|
8708
|
* M118: Display a message in the host console.
|
8707
|
8709
|
*
|
8708
|
|
- * A Append '// ' for an action command, as in OctoPrint
|
8709
|
|
- * E Have the host 'echo:' the text
|
|
8710
|
+ * A1 Append '// ' for an action command, as in OctoPrint
|
|
8711
|
+ * E1 Have the host 'echo:' the text
|
8710
|
8712
|
*/
|
8711
|
8713
|
inline void gcode_M118() {
|
8712
|
8714
|
if (parser.boolval('E')) SERIAL_ECHO_START();
|
|
@@ -10965,7 +10967,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
10965
|
10967
|
|
10966
|
10968
|
#if ENABLED(PARKING_EXTRUDER) // Dual Parking extruder
|
10967
|
10969
|
const float z_diff = hotend_offset[Z_AXIS][active_extruder] - hotend_offset[Z_AXIS][tmp_extruder];
|
10968
|
|
- float z_raise = 0;
|
|
10970
|
+ float z_raise = PARKING_EXTRUDER_SECURITY_RAISE;
|
10969
|
10971
|
if (!no_move) {
|
10970
|
10972
|
|
10971
|
10973
|
const float parkingposx[] = PARKING_EXTRUDER_PARKING_X,
|
|
@@ -10988,7 +10990,6 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
10988
|
10990
|
SERIAL_ECHOLNPGM("Starting Autopark");
|
10989
|
10991
|
if (DEBUGGING(LEVELING)) DEBUG_POS("current position:", current_position);
|
10990
|
10992
|
#endif
|
10991
|
|
- z_raise = PARKING_EXTRUDER_SECURITY_RAISE;
|
10992
|
10993
|
current_position[Z_AXIS] += z_raise;
|
10993
|
10994
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
10994
|
10995
|
SERIAL_ECHOLNPGM("(1) Raise Z-Axis ");
|
|
@@ -13026,6 +13027,7 @@ void prepare_move_to_destination() {
|
13026
|
13027
|
#if ENABLED(CNC_WORKSPACE_PLANES)
|
13027
|
13028
|
AxisEnum p_axis, q_axis, l_axis;
|
13028
|
13029
|
switch (workspace_plane) {
|
|
13030
|
+ default:
|
13029
|
13031
|
case PLANE_XY: p_axis = X_AXIS; q_axis = Y_AXIS; l_axis = Z_AXIS; break;
|
13030
|
13032
|
case PLANE_ZX: p_axis = Z_AXIS; q_axis = X_AXIS; l_axis = Y_AXIS; break;
|
13031
|
13033
|
case PLANE_YZ: p_axis = Y_AXIS; q_axis = Z_AXIS; l_axis = X_AXIS; break;
|