Skip to content

Commit 905a856

Browse files
InsanityAutomationthinkyhead
authored andcommitted
Toolchange touchup (MarlinFirmware#17395)
Co-authored-by: Scott Lahteine <[email protected]>
1 parent 902eca1 commit 905a856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/module/tool_change.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
821821
if (new_tool >= EXTRUDERS)
822822
return invalid_extruder_error(new_tool);
823823

824-
if (!no_move && !all_axes_homed()) {
824+
if (!no_move && !homing_needed()) {
825825
no_move = true;
826826
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("No move (not homed)");
827827
}
@@ -1073,7 +1073,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
10731073
#endif
10741074

10751075
#ifdef EVENT_GCODE_AFTER_TOOLCHANGE
1076-
if (!no_move)
1076+
if (!no_move && TERN1(DUAL_X_CARRIAGE, dual_x_carriage_mode == DXC_AUTO_PARK_MODE))
10771077
gcode.process_subcommands_now_P(PSTR(EVENT_GCODE_AFTER_TOOLCHANGE));
10781078
#endif
10791079

0 commit comments

Comments
 (0)