1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 23:07:42 +00:00

planner.synchronize at start of tool_change

See https://github.com/MarlinFirmware/Marlin/issues/10949#issuecomment-398540498
This commit is contained in:
Scott Lahteine 2018-07-18 20:09:32 -05:00
parent 9d0627d66c
commit 389f2ac81f

View File

@ -11981,6 +11981,8 @@ inline void invalid_extruder_error(const uint8_t e) {
* previous tool out of the way and the new tool into place.
*/
void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool no_move/*=false*/) {
planner.synchronize();
#if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
mixing_tool_change(tmp_extruder);