✨ Add option EVENT_GCODE_TOOLCHANGE_ALWAYS_RUN (#22960)

This commit is contained in:
InsanityAutomation authored and Scott Lahteine committed 2021-10-18 02:00:53 -05:00
1 parent b18aa933d1
commit d10e20d6d2
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1307,7 +1307,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
TERN_(HAS_FANMUX, fanmux_switch(active_extruder));
if (!no_move) {
if (ENABLED(EVENT_GCODE_TOOLCHANGE_ALWAYS_RUN) || !no_move) {
#ifdef EVENT_GCODE_TOOLCHANGE_T0
if (new_tool == 0)
gcode.process_subcommands_now_P(PSTR(EVENT_GCODE_TOOLCHANGE_T0));