G12 defaults per tool. Event G-code for post-toolchange (#16554)

This commit is contained in:
InsanityAutomation
2020-01-21 03:51:23 -05:00
committed by Scott Lahteine
parent 84c874c53b
commit 79810b7fcb
4 changed files with 18 additions and 12 deletions

View File

@ -1067,6 +1067,10 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
fanmux_switch(active_extruder);
#endif
#ifdef EVENT_GCODE_AFTER_TOOLCHANGE
gcode.process_subcommands_now_P(EVENT_GCODE_AFTER_TOOLCHANGE);
#endif
SERIAL_ECHO_START();
SERIAL_ECHOLNPAIR(MSG_ACTIVE_EXTRUDER, int(active_extruder));